better casting on form checkbox, setting populate flag properly based on if id is set (for create/update)
This commit is contained in:
parent
31c604d09c
commit
aaf2e5c2f6
4 changed files with 54 additions and 24 deletions
|
@ -379,8 +379,8 @@ var AIRTIME = (function(AIRTIME) {
|
|||
$.post(url, data, function(json) {
|
||||
|
||||
//TODO put errors on form.
|
||||
if (json.data !== "true") {
|
||||
//makeHistoryDialog(json.dialog);
|
||||
if (json.error !== undefined) {
|
||||
|
||||
}
|
||||
else {
|
||||
removeHistoryDialog();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue