diff --git a/www/protected/models/Poblacion.php b/www/protected/models/Poblacion.php index a1db963..475f8aa 100644 --- a/www/protected/models/Poblacion.php +++ b/www/protected/models/Poblacion.php @@ -72,6 +72,15 @@ class Poblacion extends CActiveRecord ); } + /** + * @return array Default scope for this model. + */ + public function defaultScope() { + return array ( + 'order' => 'poblacion' + ); + } + /** * Retrieves a list of models based on the current search/filter conditions. * @return CActiveDataProvider the data provider that can return the models based on the search/filter conditions. diff --git a/www/themes/profind/lib/chosen/example.jquery.html b/www/themes/profind/lib/chosen/example.jquery.html index 0e06a42..76a7363 100644 --- a/www/themes/profind/lib/chosen/example.jquery.html +++ b/www/themes/profind/lib/chosen/example.jquery.html @@ -47,7 +47,7 @@ padding-top: 5px; } - +
diff --git a/www/themes/profind/views/empresa/_form.php b/www/themes/profind/views/empresa/_form.php index 83dd582..b9ecc09 100644 --- a/www/themes/profind/views/empresa/_form.php +++ b/www/themes/profind/views/empresa/_form.php @@ -1,3 +1,14 @@ +clientScript->registerCssFile(Yii::app()->theme->baseUrl . '/lib/uniform/css/uniform.default.css'); ?> +clientScript->registerScriptFile(Yii::app()->theme->baseUrl . '/lib/uniform/jquery.uniform.min.js', CClientScript::POS_END); ?> + +clientScript->registerScript( + 'uniform', " + $(document).ready(function(){ + $('.uni_style').uniform(); + }); + ", CClientScript::POS_END); +?> +