Просмотр исходного кода

New version of jQuery

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@1966 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 13 лет назад
Родитель
Сommit
17e4334839
2 измененных файлов с 4 добавлено и 5 удалено
  1. 1 1
      application/ajaxwebpage.class.inc.php
  2. 3 4
      application/nicewebpage.class.inc.php

+ 1 - 1
application/ajaxwebpage.class.inc.php

@@ -307,7 +307,7 @@ EOF
 	 */	 	 	
 	public function add_ready_script($sScript)
 	{
-		$this->m_sReadyScript .= $sScript;
+		$this->m_sReadyScript .= $sScript."\n";
 	}
 	
 	/**

+ 3 - 4
application/nicewebpage.class.inc.php

@@ -36,10 +36,9 @@ class NiceWebPage extends WebPage
     {
         parent::__construct($s_title);
 		$this->m_aReadyScripts = array();
-		$this->add_linked_script("../js/jquery-1.4.2.min.js");
-		$this->add_linked_stylesheet('../css/ui-lightness/jquery-ui-1.8.2.custom.css');
-		$this->add_style('body { overflow: auto; }');
-		$this->add_linked_script('../js/jquery-ui-1.8.2.custom.min.js');
+		$this->add_linked_script("../js/jquery-1.7.1.min.js");
+		$this->add_linked_stylesheet('../css/ui-lightness/jquery-ui-1.8.17.custom.css');
+		$this->add_linked_script('../js/jquery-ui-1.8.17.custom.min.js');
 		$this->add_linked_script("../js/hovertip.js");
 		// table sorting
 		$this->add_linked_script("../js/jquery.tablesorter.min.js");