Skip to content
Permalink
Browse files

Update Dev JS

  • Loading branch information...
sebastienheraud committed Jul 11, 2019
1 parent 0a34958 commit 3ec230e1297ca249cd3ca890636581bdd641c0e7
@@ -27,7 +27,7 @@ public static function addDependencies( $view, $layout, $tmpl = '' )
// Additional
switch ( $view ) {
case 'box':
JCck::loadjQuery( true, true, array( 'cck.dev-3.17.0.min.js', 'jquery.ui.effects.min.js', 'jquery.json.min.js' ) );
JCck::loadjQuery( true, true, array( 'cck.dev-3.18.0.min.js', 'jquery.ui.effects.min.js', 'jquery.json.min.js' ) );
Helper_Include::addSmoothScrool( 500 );
break;
case 'folder':
@@ -41,7 +41,7 @@ public static function addDependencies( $view, $layout, $tmpl = '' )
break;
case 'field':
if ( $script === true ) {
JCck::loadjQuery( true, true, array( 'cck.dev-3.17.0.min.js' ) );
JCck::loadjQuery( true, true, array( 'cck.dev-3.18.0.min.js' ) );
JCck::loadjQueryUI();
}
if ( $tmpl == 'component' ) {
@@ -51,7 +51,7 @@ public static function addDependencies( $view, $layout, $tmpl = '' )
case 'type':
case 'search':
if ( $script === true ) {
JCck::loadjQuery( true, true, array( 'cck.dev-3.17.0.min.js', 'jquery.biscuit.min.js' ) );
JCck::loadjQuery( true, true, array( 'cck.dev-3.18.0.min.js', 'jquery.biscuit.min.js' ) );
JCck::loadjQueryUI();
$doc->addScript( $root.'/media/cck/js/cck.backend-3.17.0.min.js' );
$doc->addStyleSheet( $root.'/administrator/components/com_'.CCK_NAME.'/assets/css/ui-construction.css' );
@@ -91,7 +91,7 @@ public static function addDependencies( $view, $layout, $tmpl = '' )
require_once JPATH_LIBRARIES.'/cck/joomla/html/cckactionsdropdown.php';
if ( $view == 'folders' ) {
JCck::loadjQuery( true, true, array( 'cck.dev-3.17.0.min.js' ) );
JCck::loadjQuery( true, true, array( 'cck.dev-3.18.0.min.js' ) );
} else {
JCck::loadjQuery();
}
@@ -41,7 +41,7 @@ protected function getInput()
$lang->load( 'com_cck_default', JPATH_SITE );
if ( $format != 'raw' ) {
JCck::loadjQuery( true, true, array( 'cck.dev-3.17.0.min.js', 'jquery.json.min.js', 'jquery.ui.effects.min.js' ) );
JCck::loadjQuery( true, true, array( 'cck.dev-3.18.0.min.js', 'jquery.json.min.js', 'jquery.ui.effects.min.js' ) );
}
$config = array( 'asset'=>'',
@@ -222,7 +222,7 @@ protected function getInput()
$html[] = '</div></div>';
// Stuff
JCck::loadjQuery( true, true, array( 'cck.dev-3.17.0.min.js', 'jquery.json.min.js', 'jquery.ui.effects.min.js' ) );
JCck::loadjQuery( true, true, array( 'cck.dev-3.18.0.min.js', 'jquery.json.min.js', 'jquery.ui.effects.min.js' ) );
$ajax = '../media/system/images/modal/spinner.gif';
$js = '
(function ($){
@@ -26,7 +26,7 @@ protected function getInput()
{
$format = (string)$this->element['js_format'];
if ( $format != 'raw' ) {
JCck::loadjQuery( true, true, array( 'cck.dev-3.17.0.min.js', 'jquery.json.min.js', 'jquery.ui.effects.min.js' ) );
JCck::loadjQuery( true, true, array( 'cck.dev-3.18.0.min.js', 'jquery.json.min.js', 'jquery.ui.effects.min.js' ) );
}
return $this->_addScripts( $this->id, array( 'appendTo'=>(string)$this->element['js_appendto'],
@@ -373,7 +373,7 @@ public static function loadjQuery( $noconflict = true, $more = true, $dev = fals
if ( $dev !== false && !( isset( $app->cck_jquery_dev ) && $app->cck_jquery_dev === true ) ) {
if ( $dev === true ) {
$doc->addScript( $root.'/media/cck/js/cck.dev-3.17.0.min.js' );
$doc->addScript( $root.'/media/cck/js/cck.dev-3.18.0.min.js' );
$doc->addScript( $root.'/media/cck/js/jquery.ui.effects.min.js' );
$app->cck_jquery_dev = true;
} elseif ( is_array( $dev ) && count( $dev ) ) {
@@ -32,7 +32,7 @@ public function render()
return '';
}
JCck::loadjQuery( true, true, array( 'cck.dev-3.17.0.min.js' ) );
JCck::loadjQuery( true, true, array( 'cck.dev-3.18.0.min.js' ) );
$config = array(
'asset'=>'',

This file was deleted.

Some generated files are not rendered by default. Learn more.

0 comments on commit 3ec230e

Please sign in to comment.
You can’t perform that action at this time.