mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-05-19 12:01:06 +00:00
allow form data to be passed to $.mobile.changePage as a query string or object.
This commit is contained in:
parent
61bee4e276
commit
9a492d06fd
1 changed files with 4 additions and 0 deletions
|
|
@ -299,6 +299,10 @@
|
|||
isFormRequest = true;
|
||||
//make get requests bookmarkable
|
||||
if( data && type == 'get' ){
|
||||
if($.type( data ) == "object" ){
|
||||
data = $.param(data);
|
||||
}
|
||||
|
||||
url += "?" + data;
|
||||
data = undefined;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue