mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 14:17:57 +01:00
update bootstrapDialog
This commit is contained in:
parent
3df56a4d97
commit
8b396768d5
@ -29,11 +29,11 @@ var BootstrapDialog = new Class({
|
|||||||
if (this.options.acceptButton || this.options.cancelButton) {
|
if (this.options.acceptButton || this.options.cancelButton) {
|
||||||
footer = $('<div class="modal-footer">');
|
footer = $('<div class="modal-footer">');
|
||||||
}
|
}
|
||||||
if (this.options.acceptButton) {
|
if (this.options.acceptButton) { //falta agregar $msg('ACCEPT')
|
||||||
footer.append('<button type="button" class="btn btn-primary">'+ $msg('ACCEPT') +'</button>')
|
footer.append('<input type="submit" id="acceptBtn" class="btn btn-primary" value="Accept"/>');
|
||||||
}
|
}
|
||||||
if (this.options.cancelButton) {
|
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;
|
return footer;
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user