Browse Source

Fix js reload button on new tab creation

causefx 7 years ago
parent
commit
7f086fc79e
2 changed files with 1 additions and 1 deletions
  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,
         tabDefault:0,
         tabType:1,
         tabType:1,
         messageTitle:'Created Tab '+$('#new-tab-form [name=tabName]').val(),
         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'
         error:'Organizr Function: Tab API Connection Failed'
     };
     };
     if (typeof post.tabOrder == 'undefined' || post.tabOrder == '') {
     if (typeof post.tabOrder == 'undefined' || post.tabOrder == '') {

File diff suppressed because it is too large
+ 0 - 0
js/custom.min.js


Some files were not shown because too many files changed in this diff