Browse Source

reinstate scriptaculous controls (needed for ajax.autocomplete)

Andrew Dolgov 5 years ago
parent
commit
6214a0768a
3 changed files with 4 additions and 3 deletions
  1. 2 1
      classes/handler/public.php
  2. 1 1
      index.php
  3. 1 1
      prefs.php

+ 2 - 1
classes/handler/public.php

@@ -428,8 +428,9 @@ class Handler_Public extends Handler {
 		<link rel=\"icon\" type=\"image/png\" sizes=\"72x72\" href=\"images/favicon-72px.png\">";
 
 		echo stylesheet_tag("css/utility.css");
+		echo stylesheet_tag("css/dijit.css");
 		echo javascript_tag("lib/prototype.js");
-		echo javascript_tag("lib/scriptaculous/scriptaculous.js?load=effects,dragdrop,controls");
+		echo javascript_tag("lib/scriptaculous/scriptaculous.js?load=effects,controls");
 		print "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"/>
 			</head><body id='sharepopup'>";
 

+ 1 - 1
index.php

@@ -86,7 +86,7 @@
 
 	<?php
 	foreach (array("lib/prototype.js",
-				"lib/scriptaculous/scriptaculous.js?load=effects",
+				"lib/scriptaculous/scriptaculous.js?load=effects,controls",
 				"lib/dojo/dojo.js",
 				"lib/dojo/tt-rss-layer.js",
 				"errors.php?mode=js") as $jsfile) {

+ 1 - 1
prefs.php

@@ -52,7 +52,7 @@
 
 	<?php
 	foreach (array("lib/prototype.js",
-				"lib/scriptaculous/scriptaculous.js?load=effects",
+				"lib/scriptaculous/scriptaculous.js?load=effects,controls",
 				"lib/dojo/dojo.js",
 				"lib/dojo/tt-rss-layer.js",
 				"errors.php?mode=js") as $jsfile) {