You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i had the need for modifying the values of a form in a pushstate.prevent.
would you expose the serializing postdata function to make it easier ?
something like that ?:
public function serializeStatePostData(state:Dynamic):Dynamic {
var buf:StringBuf=new StringBuf();
for (a in Reflect.fields(state)){
var p:String=Reflect.field(state,a);
var _a=a+"="+p.urlEncode();
buf.add(_a+"&");
}
Reflect.setField(state,"__postData",buf.toString());
return state;
}
perhaps i'm not doing it right but i don't get why we couldn't do it by default.
thx
The text was updated successfully, but these errors were encountered:
i had the need for modifying the values of a form in a pushstate.prevent.
would you expose the serializing postdata function to make it easier ?
something like that ?:
}
perhaps i'm not doing it right but i don't get why we couldn't do it by default.
thx
The text was updated successfully, but these errors were encountered: