Changeset 1974225
- Timestamp:
- 11/14/2018 01:34:10 PM (7 years ago)
- Location:
- clym
- Files:
-
- 1 edited
- 8 copied
-
tags/2.0.2 (copied) (copied from clym/trunk)
-
tags/2.0.2/admin/clym-quick-setup.php (copied) (copied from clym/trunk/admin/clym-quick-setup.php)
-
tags/2.0.2/admin/clym-settings.php (copied) (copied from clym/trunk/admin/clym-settings.php)
-
tags/2.0.2/admin/css/custom.css (copied) (copied from clym/trunk/admin/css/custom.css)
-
tags/2.0.2/admin/js/custom.js (copied) (copied from clym/trunk/admin/js/custom.js) (4 diffs)
-
tags/2.0.2/clym.php (copied) (copied from clym/trunk/clym.php)
-
tags/2.0.2/includes/config.json (copied) (copied from clym/trunk/includes/config.json)
-
tags/2.0.2/readme.txt (copied) (copied from clym/trunk/readme.txt)
-
trunk/admin/js/custom.js (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
clym/tags/2.0.2/admin/js/custom.js
r1974207 r1974225 119 119 }; 120 120 121 function showAlert() { 122 $("#clymAlert").addClass("in"); 123 } 124 125 function hideAlert() { 126 $("#clymAlert").removeClass("in"); 127 } 128 121 129 function updateOption(data) { 122 130 var value, … … 182 190 183 191 if (response === 'success') { 192 $("#clymAlert").removeClass("clym-alert-error"); 184 193 clymAlert.innerHTML = 'Settings saved'; 185 194 showAlert(); … … 189 198 showAlert(); 190 199 } 200 window.setTimeout(function () { 201 hideAlert(); 202 }, 2000); 203 191 204 if (data === 'q-widget') { 192 205 location.reload(); … … 197 210 } 198 211 199 function showAlert() {200 $("#clymAlert").addClass("in");201 }202 203 function hideAlert() {204 $("#clymAlert").removeClass("in");205 }206 207 208 window.setTimeout(function () {209 hideAlert();210 }, 3000); -
clym/trunk/admin/js/custom.js
r1974207 r1974225 119 119 }; 120 120 121 function showAlert() { 122 $("#clymAlert").addClass("in"); 123 } 124 125 function hideAlert() { 126 $("#clymAlert").removeClass("in"); 127 } 128 121 129 function updateOption(data) { 122 130 var value, … … 182 190 183 191 if (response === 'success') { 192 $("#clymAlert").removeClass("clym-alert-error"); 184 193 clymAlert.innerHTML = 'Settings saved'; 185 194 showAlert(); … … 189 198 showAlert(); 190 199 } 200 window.setTimeout(function () { 201 hideAlert(); 202 }, 2000); 203 191 204 if (data === 'q-widget') { 192 205 location.reload(); … … 197 210 } 198 211 199 function showAlert() {200 $("#clymAlert").addClass("in");201 }202 203 function hideAlert() {204 $("#clymAlert").removeClass("in");205 }206 207 208 window.setTimeout(function () {209 hideAlert();210 }, 3000);
Note: See TracChangeset
for help on using the changeset viewer.