- Timestamp:
- Oct 28, 2012, 10:25:43 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/template.class.php
r18760 r18775 599 599 } 600 600 } 601 602 // TEMP in 2.5 for backward compatibility 603 if(!empty($params['require'])) 604 { 605 $params['require'] = str_replace('jquery.effects.', 'jquery.ui.effect-', $params['require'] ); 606 $params['require'] = str_replace('jquery.effects', 'jquery.ui.effect', $params['require'] ); 607 } 608 601 609 $this->scriptLoader->add( $params['id'], $load, 602 610 empty($params['require']) ? array() : explode( ',', $params['require'] ), … … 681 689 if ( !empty($content) ) 682 690 { // second call 691 692 // TEMP in 2.5 for backward compatibility 693 if(!empty($params['require'])) 694 { 695 $params['require'] = str_replace('jquery.effects.', 'jquery.ui.effect-', $params['require'] ); 696 $params['require'] = str_replace('jquery.effects', 'jquery.ui.effect', $params['require'] ); 697 } 698 683 699 $this->scriptLoader->add_inline( 684 700 $content,
Note: See TracChangeset
for help on using the changeset viewer.