/[smecontribs]/rpms/smeserver-manager-AdminLTE/contribs10/smeserver-manager-AdminLTE-0.1.3-Fix-browser-error-in-js-for-version-extract.patch
ViewVC logotype

Annotation of /rpms/smeserver-manager-AdminLTE/contribs10/smeserver-manager-AdminLTE-0.1.3-Fix-browser-error-in-js-for-version-extract.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Thu Mar 3 10:22:27 2022 UTC (2 years, 8 months ago) by brianr
Branch: MAIN
CVS Tags: smeserver-manager-AdminLTE-0_1_3-21_el7_sme, smeserver-manager-AdminLTE-0_1_3-19_el7_sme, smeserver-manager-AdminLTE-0_1_4-1_el7_sme, smeserver-manager-AdminLTE-0_1_3-20_el7_sme, HEAD
* Thu Mar 03 2022 Brian Read <brianr@bjsystems.co.uk> 0.1.3-19.sme
- Browser error in js for AdminLTE version extraction [SME: 11881]

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     }

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed