[*] Classes : addJqueryUI automaticaly add css
This commit is contained in:
1 parent
3dc718a88b
commit
5db4ba7b45
2 files changed
+32
-6
No files matched your search
@@ -242,12 +242,15 @@ abstract class ControllerCore
|
||||
*/
|
||||
public function addJqueryUI($component)
|
||||
{
|
||||
$ui_path = array();
|
||||
if (is_array($component))
|
||||
foreach($component as $ui)
|
||||
$ui_path = Media::getJqueryUIPath($ui);
|
||||
else
|
||||
$ui_path = Media::getJqueryUIPath($component);
|
||||
$this->addJS($ui_path);
|
||||
|
||||
$this->addCSS($ui_path['css']);
|
||||
$this->addJS($ui_path['js']);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user