This page is asking you to confirm that you want to leave - data you have entered may not be saved.
I just downloaded the latest FuelCMS and installed it for a new project.
When I try to submit a content from pages or blocks it keep popup this js confirmation message:
This page is asking you to confirm that you want to leave - data you have entered may not be saved.
I remember that somehow from config there's an option to disable it, but I didnt find it - please advice.
thank you
Comments
Re-installed the whole thing - didnt touch fuel assets and not it's all ok.
in modules/fuel/config/fuel.php Now it won't bother me any more.
P.S. still some Fuel JS need to be fix for jquery 1.8.x
I guess it's because filter does not have '' in them - 1.5 didn't required filters to be in comma ex:
before: 1.7 - commas/Quotes on filter was not required
$('input:[name^=some_]')...
after: 1.7...
$('input:[name^="some_"]')...
oh and 1 more thing... jquery 1.8 does not support comma any more
for filtering
$('input[name^="some_"]')
Form_builder.php
I just added
public $submit_name = "submit_button"; // submit id and name values
and changed submit button - is really annoying when your submit value must contain special characters like şţăîâ...
in romanian Modify = Modifică, Delete = Şterge,
that's why I had to have a different submit name/id than value one.