[js, php] permsions fixes, date format

This commit is contained in:
naumov-socolov 2012-01-25 04:24:23 +03:00
parent 0e0d6b6656
commit 5c87dfb2dd
14 changed files with 1356 additions and 147 deletions

View file

@ -378,8 +378,8 @@ App.Actions.save_form = function(evt) {
else { // OLD ITEM, UPDATING IT
var source = $(elm).find('.source').val();
var values = App.Helpers.getFormValues(elm);
if(App.Validate.form(values, $('#'+elm_id))) {
App.Model.update(values, source, elm);
if(App.Validate.form(values, $('#'+elm_id))) {
App.Model.update(values, source, elm);
}
}
}