diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-12-10 16:59:03 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2014-12-16 18:45:37 +0100 |
commit | 51a22431ee824357dce0100cb000032f29aabd47 (patch) | |
tree | 339aa12a968c1738ed19a6edec8df81451f162b1 /lib/base.php | |
parent | 3cc33a98a898f247499896ae0674ae680564fb12 (diff) | |
download | nextcloud-server-51a22431ee824357dce0100cb000032f29aabd47.tar.gz nextcloud-server-51a22431ee824357dce0100cb000032f29aabd47.zip |
load showpassord.js conditionally in the template only if needed
Diffstat (limited to 'lib/base.php')
-rw-r--r-- | lib/base.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/base.php b/lib/base.php index 1dd259b0914..aa536c26399 100644 --- a/lib/base.php +++ b/lib/base.php @@ -336,7 +336,6 @@ class OC { public static function initTemplateEngine() { // Add the stuff we need always - // following logic will import all vendor libraries that are // specified in core/js/core.json $fileContent = file_get_contents(OC::$SERVERROOT . '/core/js/core.json'); @@ -351,7 +350,6 @@ class OC { throw new \Exception('Cannot read core/js/core.json'); } - OC_Util::addScript("jquery-showpassword"); OC_Util::addScript("placeholders"); OC_Util::addScript("jquery-tipsy"); OC_Util::addScript("compatibility"); |