Commit d7f11295 authored by Anatole Rakotoson's avatar Anatole Rakotoson
Browse files

element fix

parent 0897f8c7
......@@ -349,8 +349,8 @@ costumInputs.elementparents = {
}
},
afterSave : function(data, searchExists) {
//alert( "afterSave"+data.map.slug+" , "+ data.typeStruct );
//if(searchExists){
// alert( "afterSave"+data.map.slug+" , "+ data.typeStruct );
// if(searchExists){
var ex = false;
//create link only if doesn't allready exist
if( jsonHelper.notNull("answerObj.answers.action.parents") ){
......@@ -368,7 +368,7 @@ costumInputs.elementparents = {
collection : "answers",
id : answerId,
arrayForm : true,
path : "answers.organizations",
path : "answers.action.parents",
value : {
type : data.type ,
id : data.id ,
......
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