瀏覽代碼

Fix js reload button on new tab creation

causefx 7 年之前
父節點
當前提交
7f086fc79e
共有 2 個文件被更改,包括 1 次插入 和 1 次删除
  1. 1 1
      js/custom.js
  2. 0 0
      js/custom.min.js

+ 1 - 1
js/custom.js

@@ -910,7 +910,7 @@ $(document).on("click", ".addNewTab", function () {
         tabDefault:0,
         tabType:1,
         messageTitle:'Created Tab '+$('#new-tab-form [name=tabName]').val(),
-        messageBody:'Please <a href="javascript(\'window.location.reload(false);\');">RELOAD</a> page to update',
+        messageBody:'Please <a href="javascript:void(0)" onclick="window.location.reload(false);">RELOAD</a> page to update',
         error:'Organizr Function: Tab API Connection Failed'
     };
     if (typeof post.tabOrder == 'undefined' || post.tabOrder == '') {

文件差異過大導致無法顯示
+ 0 - 0
js/custom.min.js


部分文件因文件數量過多而無法顯示