mirror of
https://github.com/myvesta/vesta
synced 2025-07-30 11:39:44 -07:00
[js, php] permsions fixes, date format
This commit is contained in:
parent
0e0d6b6656
commit
5c87dfb2dd
14 changed files with 1356 additions and 147 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue