mirror of https://github.com/huashengdun/webssh
Merge pull request #75 from rilango/master
Change to fill form values from URL parameters.pull/83/head
commit
013c925ec4
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue