better casting on form checkbox, setting populate flag properly based on if id is set (for create/update)

This commit is contained in:
Naomi 2013-08-05 15:05:26 -04:00
parent 31c604d09c
commit aaf2e5c2f6
4 changed files with 54 additions and 24 deletions

View file

@ -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();