bootstrap-jquery-plugin icon indicating copy to clipboard operation
bootstrap-jquery-plugin copied to clipboard

Has the same API with jQueryUI. A simple light weight jquery plugin library to make working with Bootstrap css.

Results 7 bootstrap-jquery-plugin issues
Sort by recently updated
recently updated
newest added

It seems that it doesn't call the beforeClose and open function from jquery dialog. Can this be checked? Thank you.

Is it possible to add an attribute to dialogs where it could be dragged? Thank you.

So far this has been fixed in bootstrap [#4781](https://github.com/twbs/bootstrap/issues/4781) and [#14927](https://github.com/twbs/bootstrap/pull/14927) For some reason wasn't working with this plugin and I had to trick it based on [this](https://github.com/twbs/bootstrap/issues/4781#issuecomment-17983437) var close...

https://github.com/newghost/bootstrap-jquery-plugin/blob/gh-pages/js/jquery.bootstrap.js#L124 Current: $msgbox.modal('hide').one('hidden.bs.modal', function(e) { Fixed: $msgbox.modal('hide').on('hidden.bs.modal', function(e) {

点击确定,执行回调应该放在 hidden.bs.modal 隐藏动作完成触发事件中,如: $msgbox.modal('hide').one('hidden.bs.modal', function() { if (destroy) { $this.data(parentDataName).append($this); $msgbox.remove(); //bug fix by su.wenrong callback && callback(); } }); 因为之前的写法,由于bootStrap modal隐藏动作是异步为隐藏滚动条做了些body padding-right 的调整工作,而隐藏动作完成后需调整回正常状态,callback 需要在确保完成隐藏动作完成后(调整回正常状态)才执行,这样就不会冲突出现:冲突场景 在callback 里面又有打开另一个modal时,就会出现调整冲突,之前的调整还未结束,出现新的modal框就出现调整错误,导致body padding-right 多出多余的px。