1 |
brianr |
1.1 |
diff -urN smeserver-manager-AdminLTE-0.1.3.old/root/usr/share/smanager/themes/AdminLTE/templates/layouts/default.html.ep smeserver-manager-AdminLTE-0.1.3/root/usr/share/smanager/themes/AdminLTE/templates/layouts/default.html.ep |
2 |
|
|
--- smeserver-manager-AdminLTE-0.1.3.old/root/usr/share/smanager/themes/AdminLTE/templates/layouts/default.html.ep 2022-03-03 10:03:11.632427513 +0000 |
3 |
|
|
+++ smeserver-manager-AdminLTE-0.1.3/root/usr/share/smanager/themes/AdminLTE/templates/layouts/default.html.ep 2022-03-02 18:45:00.000000000 +0000 |
4 |
|
|
@@ -268,7 +268,7 @@ |
5 |
|
|
success: function(cssText) { |
6 |
|
|
const searchReg = /AdminLTE v([0-9.]{0,})/; |
7 |
|
|
const result = cssText.match(searchReg); |
8 |
|
|
- $(`.${classSelector}`).text(result[versionType == 'full' ? 0 : 1]); |
9 |
|
|
+ if (result != null){ $(`.${classSelector}`).text(result[versionType == 'full' ? 0 : 1]);} |
10 |
|
|
} |
11 |
|
|
}); |
12 |
|
|
} |