From 51a22431ee824357dce0100cb000032f29aabd47 Mon Sep 17 00:00:00 2001 From: Thomas Müller Date: Wed, 10 Dec 2014 16:59:03 +0100 Subject: load showpassord.js conditionally in the template only if needed --- lib/base.php | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib') 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"); -- cgit v1.2.3