mirror of https://gitee.com/karson/fastadmin.git
commit
3134cb7869
|
|
@ -206,7 +206,8 @@ define(['jquery', 'bootstrap', 'toastr', 'layer', 'lang'], function ($, undefine
|
||||||
if ($(this).hasClass("disabled") || $(this).parent().hasClass("disabled")) {
|
if ($(this).hasClass("disabled") || $(this).parent().hasClass("disabled")) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$(".btn:eq(" + $(this).index() + ")", layerfooter).trigger("click");
|
var index = footer.find('.btn').index(this);
|
||||||
|
$(".btn:eq(" + index + ")", layerfooter).trigger("click");
|
||||||
});
|
});
|
||||||
|
|
||||||
var titHeight = layero.find('.layui-layer-title').outerHeight() || 0;
|
var titHeight = layero.find('.layui-layer-title').outerHeight() || 0;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue