return"{{'You are going to leave a page with unsubmitted data. Are you sure you want to leave ?'|trans}}";
}
}
e=null;
// i.e; if form state change show box not.
});
{%blockjs%}
<script type="text/javascript">
chill.protectUnsavedDataForFrom('form[name="{{edit_form.vars.form.vars.name}}"]','{{"You are going to leave a page with unsubmitted data. Are you sure you want to leave ?"|trans}}');
return"{{'You are going to leave a page with unsubmitted data. Are you sure you want to leave ?'|trans}}";
}
}
e=null;
// i.e; if form state change show box not.
});
{%blockjs%}
<script type="text/javascript">
chill.protectUnsavedDataForFrom('form[name="{{form.vars.form.vars.name}}"]','{{"You are going to leave a page with unsubmitted data. Are you sure you want to leave ?"|trans}}');