View Issue Details

IDProjectCategoryView StatusLast Update
0009174Multi Theft Auto : San AndreasCEFpublic2016-06-17 01:20
ReportermabakoAssigned Tomabako 
PrioritynormalSeverityfeatureReproducibilityN/A
Status resolvedResolutionfixed 
Product Version 
Target Version1.5.3Fixed in Version1.5.3 
Summary0009174: [Request] Functions for CEF forward/backward navigation and reloading the page
Description

While you could technically reload the current page by calling loadBrowserURL, this always performs a GET request - which may or may not be the action you performed at the time of opening the page.

TagsNo tags attached.

Activities

mabako

2016-03-05 14:27

updater   ~~0024497

https://github.com/multitheftauto/mtasa-blue/pull/31

qaisjp

2016-03-05 14:31

administrator   ~~0024498

Last edited: 2016-03-05 15:08

View 2 revisions

So would this allow b:reloadPage() to do a POST request when reloading if the user submitted a form to get to this page?

mabako

2016-03-05 18:39

updater   ~~0024501

Chrome normally shows a dialogbox prompting to make sure you want to submit it again; and there's a flag --disable-prompt-on-repost to skip that dialog box.

I'm not really sure how to pass that to the CEF process though, I've tried to use OnBeforeCommandLineProcessing which is the recommended approach according to the general usage guide on the CEF bitbucket repo.

This would look like https://github.com/mabako/mtasa-blue/commit/82823c61cfb552d805d72c91467df9550aa7f969 if it worked.

Issue History

Date Modified Username Field Change