AC-201 Added callback URL and lots of tool-tip help around the callback fields.

This commit is contained in:
chouseknecht
2013-07-12 17:08:30 -04:00
parent 43fb2d7ae4
commit 7d6507ec0d
7 changed files with 151 additions and 52 deletions

View File

@@ -384,7 +384,7 @@ function JobTemplatesEdit ($scope, $rootScope, $compile, $location, $log, $route
check_field: 'allow_callbacks',
default_val: dft
});
});
// Retrieve detail record and prepopulate the form
@@ -437,6 +437,9 @@ function JobTemplatesEdit ($scope, $rootScope, $compile, $location, $log, $route
}
}
scope['callback_url'] = data.related['callback'];
master['callback_url'] = scope['callback_url'];
LookUpInit({
scope: scope,
form: form,
@@ -493,7 +496,7 @@ function JobTemplatesEdit ($scope, $rootScope, $compile, $location, $log, $route
data[fld] = scope[fld].value;
}
else {
if (fld != 'variables') {
if (fld != 'variables' && fld != 'callback_url') {
data[fld] = scope[fld];
}
}