mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 22:27:55 +01:00
update bootstrapDialog
This commit is contained in:
parent
66bf71fbc7
commit
cb6d691ee2
@ -29,11 +29,11 @@ var BootstrapDialog = new Class({
|
||||
if (this.options.acceptButton || this.options.cancelButton) {
|
||||
footer = $('<div class="modal-footer">');
|
||||
}
|
||||
if (this.options.acceptButton) {
|
||||
footer.append('<button type="button" class="btn btn-primary">'+ $msg('ACCEPT') +'</button>')
|
||||
if (this.options.acceptButton) { //falta agregar $msg('ACCEPT')
|
||||
footer.append('<input type="submit" id="acceptBtn" class="btn btn-primary" value="Accept"/>');
|
||||
}
|
||||
if (this.options.cancelButton) {
|
||||
footer.append('<button type="button" class="btn btn-default" data-dismiss="modal">'+ $msg('CANCEL') +'</button>');
|
||||
footer.append('<button type="button" class="btn btn-secondary" data-dismiss="modal">'+ $msg('CANCEL') +'</button>');
|
||||
}
|
||||
return footer;
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user