更换 alert 为 bootstrap 的 modal
This commit is contained in:
1 parent
26dab5bd91
commit
999d03b8f7
6 files changed
+38
-7
No files matched your search
@@ -0,0 +1,7 @@
|
||||
define("bs_alert", ["jquery", "bootstrap"], function($){
|
||||
function bs_alert(content){
|
||||
$("#modal-text").html(content);
|
||||
$("#modal").modal();
|
||||
}
|
||||
return bs_alert;
|
||||
});
|
||||
Reference in new issue
Block a user