CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Bug #31325

jQueryUI not loaded with CDN in TYPO3 4.6.0

Added by Patrick Fiedorowicz over 1 year ago. Updated over 1 year ago.

Status:Resolved Start date:2011-10-26
Priority:Should have Due date:
Assignee:Juergen Furrer % Done:

100%

Category:- Spent time: 0.50 hour
Target version:- Estimated time:0.50 hour
Votes: 0

Description

Hey Juergen,

I found a bug in your amazing t3jquery when using TYPO3 4.6.0.

When you set t3jquery options in EM to get jQuery UI via CDN, jQueryUI will not be loaded in TYPO3 4.6.0.

The problem is in class.tx_t3jquery.php on line 187 and following:

if ($confArr['jQueryUiVersion'] != '') {
  $params['jsFiles']['https://ajax.googleapis.com/ajax/libs/jqueryui/'.$confArr['    jQueryUiVersion'].'/jquery-ui.min.js'] = array(
    # now the next line 'file' is required in TYPO3 4.6.0
    # see attached diff of class.t3lib_pagerenderer.php in version 4.5.6 and 4.6.0
    'file'       => 'https://ajax.googleapis.com/ajax/libs/jqueryui/'.$conf    Arr['jQueryUiVersion'].'/jquery-ui.min.js',
    'type'       => 'text/javascript',
    'section'    => self::getSection(),
    'forceOnTop' => TRUE,
  );
}

If you add this line, TYPO3 4.6.0 now includes jQueryUI from CDN.

class.t3lib_pagerenderer.php.jpg - Diff for class.t3lib_pagerenderer.php (165 kB) Patrick Fiedorowicz, 2011-10-27 00:15

History

Updated by Juergen Furrer over 1 year ago

  • Status changed from New to Accepted
  • Assignee set to Juergen Furrer
  • Estimated time set to 0.50

Updated by Juergen Furrer over 1 year ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF