executePost(url,data,{id:msgId,success:"Saved!",failure:"Can't create new file. Probably permissions problem or file already exists",error:"Error creating a new file!"});
executePost(url,data,{id:msgId,success:"Saved!",failure:"Can't create new file. Probably permissions problem or file already exists",error:"Error creating a new file!"});
}else{
alert("File name is not valid. It has to end with a .query for models and with .template for views");