HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Search
-
Re: Reload Page After Submit
-
Re: Reload Page After Submit
Here is some short code which you might be able alter to show your problem: class.demonstration.plugin.php <?php$PluginInfo['demonstration'] = [ 'Name' => 'Demonstration', 'Description' => 'This and that...', 'Version' => '0.1', 'RequiredApplications' => ['Vanilla' => '>= 2.3'], 'SettingsPermission' =>… -
Re: Reload Page After Submit
By the way: I bet that anybody with some basic form handling knowledge is already laughing at our clumsy explanations :mrgreen: It's getting somewhat too theoretical for me now. You can define an action target in a form, which would pass that postback action back to the Main method like so: public function… -
Re: Reload Page After Submit
Last but not least, neither of these options (separately or in combination worked): $sender->jsonTarget('', '', 'Refresh'); $sender->jsonTarget('example.com', '', 'Redirect'); //trying to get bad url $sender->jsonTarget('/dashboard/settings/demonstration', '', 'Redirect'); //Redirect to the demo test plugin So there's… -
Re: Reload Page After Submit
I finally know how to recreate it on a modified version of your "demonstration" plugin and now know exactly which Vanilla function triggers the problem. Apparently going back from a popup "window" to another Vanilla place through the "redirect" function causes the popped up window to retain it's state. Now, there is a…
5 results