Commit b240b33c authored by Raph El's avatar Raph El
Browse files

Hotfix

parent 8c057c5c
......@@ -27,7 +27,7 @@ dynForm = {
}
},
afterSave : function(data,callB){
dyFObj.commonAfterSave();
dyFObj.commonAfterSave(data, callB);
//window.location.reload();
/* if( $(uploadObj.domTarget).fineUploader('getUploads').length > 0 ){
$(uploadObj.domTarget).fineUploader('uploadStoredFiles');
......
......@@ -36,7 +36,7 @@
$tpl = Yii::app()->session['costum']['htmlConstruct']['element']['urlTpl'][$type] ;
$url = ( !empty($tpl[$element["type"]]) ? $tpl[$element["type"]] : $tpl["default"] ) ;
$url = ( !empty($element["type"]) && !empty($tpl[$element["type"]]) ? $tpl[$element["type"]] : $tpl["default"] ) ;
$params = array("element"=>$element ,
"id" => @$id,
"type" => @$type,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment