*/
public function indexAction()
{
+ $GLOBALS['topScripts'][] = MEDIA_APP_BASE_URL
+ . 'libjs/jquery/jquery-1.7.2.min.js';
$GLOBALS['bottomScripts'][] = MEDIA_BASE_URL .
$this->registry->appConfig->application->setPath .
'/js/jquery.columnview.js';
*/
public function EditAction()
{
+ $GLOBALS['topScripts'][] = MEDIA_APP_BASE_URL
+ . 'libjs/jquery/jquery-1.7.2.min.js';
$GLOBALS['bottomScripts'][] = MEDIA_BASE_URL .
$this->registry->appConfig->application->setPath .
'/js/jquery.columnview.js';
MEDIA_APP_BASE_URL . 'libjs/jquery/jquery-1.4.2.min.js',
$GLOBALS['topScripts']
);
+ $foundKey2 = array_search(
+ MEDIA_APP_BASE_URL . 'libjs/jquery/jquery-1.7.2.min.js',
+ $GLOBALS['topScripts']
+ );
- if ($foundKey === false || $foundKey === null) {
+ if ( ($foundKey === false || $foundKey === null)
+ && ($foundKey2 === false || $foundKey2 === null)
+ ) {
$topScripts = $GLOBALS['topScripts'];
array_reverse($topScripts);
array_push($topScripts, JQUERY_CDN_JS);