Permalink
Browse files

Merge branch 'v2.0Kohana3.0' of ssh://dev2.winterroot.net/var/www/git…

…/fullobject into v2.0Kohana3.0
  • Loading branch information...
2 parents 05acc9c + ae0d75e commit baa73fa27b9521069f0f61c7434596383a5c226b Thiago de Mello Bueno committed May 3, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 modules/mopcore/classes/controller/ajax.php
@@ -66,10 +66,12 @@ public function action_html($uri)
$cssResources = array();
array_push($cssResources, $this->resources['librarycss']);
array_push($cssResources, $this->resources['css']);
+ $cssResources = array_values($cssResources);
$jsResources = array();
array_push($jsResources, $this->resources['libraryjs']);
array_push($jsResources, $this->resources['js']);
+ $jsResources = array_values($jsResources);
$ajaxResponse = array(
'response'=>array(
@@ -103,10 +105,12 @@ public function action_compound($uri)
$cssResources = array();
array_push($cssResources, $this->resources['librarycss']);
array_push($cssResources, $this->resources['css']);
+ $cssResources = array_values($cssResources);
$jsResources = array();
array_push($jsResources, $this->resources['libraryjs']);
array_push($jsResources, $this->resources['js']);
+ $jsResources = array_values($jsResources);
$compoundResponse = array(

0 comments on commit baa73fa

Please sign in to comment.