mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-26 15:54: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) {
|
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