mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-12-26 05:03:49 +01:00
adding stop propagation for keydown event in bootstrap dialog
This commit is contained in:
parent
d4f72f3633
commit
3655df6cb8
@ -15,6 +15,9 @@ var BootstrapDialog = new Class({
|
||||
this.options.onRemoveClickData.dialog = this;
|
||||
this._native = $('<div class="modal fade"></div>').append('<div class="modal-dialog" style="margin:150px auto"></div>');
|
||||
var content = $('<div class="modal-content"></div>');
|
||||
content.on('keydown', function(event) {
|
||||
event.stopPropagation();
|
||||
});
|
||||
var header = this._buildHeader(title);
|
||||
if (header) {
|
||||
content.append(header);
|
||||
|
Loading…
Reference in New Issue
Block a user