Missing array init in Admin Backend, jquery & prototype update

If no page list data for admin backend is read, the pages array is not
set, init it, so it doesn't throw an error.

Update jquery 1 to 1.11.1, jquery 2 to 2.1.1 and prototype to 1.7.1.0
This commit is contained in:
Clemens Schwaighofer
2014-05-20 10:37:01 +09:00
parent 9e9770d3ef
commit a828af6a81
10 changed files with 23261 additions and 9362 deletions
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1 +1 @@
jquery-1.8.2.min.js jquery-1.11.1.js
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1 +1 @@
prototype-1.7.1.0.js scriptaculous/prototype.js
File diff suppressed because it is too large Load Diff
+2
View File
@@ -162,6 +162,8 @@
// get the session pages array // get the session pages array
$pages = $_SESSION["PAGES"]; $pages = $_SESSION["PAGES"];
if (!is_array($pages))
$pages = array ();
//$this->debug('pages', $this->print_ar($pages)); //$this->debug('pages', $this->print_ar($pages));