The dialog opened for the web-item has a submit button and a cancel link in it.
I don't want the submit button to be present in the dialog.
How to do that?
The api provided by connect i.e.
AP.require('dialog', function(dialog){
var submitButton = dialog.getButton("submit");
submitButton.disable();
});
has methods only to enable/disable it.
Community moderators have prevented the ability to post new answers.
You can create a dialog without a chrome which will allow you to create your own buttons.
https://developer.atlassian.com/static/connect/docs/javascript/module-Dialog.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.