Merge pull request #75 from rilango/master

Change to fill form values from URL parameters.
pull/83/head
Shengdun Hua 2019-08-10 08:15:35 +08:00 committed by GitHub
commit 013c925ec4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -662,6 +662,14 @@ jQuery(function($){
data._origin = event_origin;
}
for (var datum in data) {
var value = data[datum];
if (value){
window.localStorage.setItem(datum, value);
}
}
restore_items(fields);
$.ajax({
url: url,
type: 'post',