update remove button for editors

This commit is contained in:
Mariela Michalek
2014-09-14 18:32:18 -03:00
parent c78ae247f4
commit ac425c6f0d
3 changed files with 10 additions and 1 deletions

View File

@@ -54,7 +54,6 @@ var BootstrapDialog = new Class({
this.removeButton = $('<button type="button" class="btn btn-secondary" id="removeBtn" data-dismiss="modal">'+ $msg('REMOVE') +'</button>');
footer.append(this.removeButton);
this.removeButton.on('click', this.options.onRemoveClickData, this.onRemoveClick);
this.removeButton.hide();
}
if (this.options.cancelButton) {
footer.append('<button type="button" class="btn btn-secondary" data-dismiss="modal">'+ $msg('CANCEL') +'</button>');