PDA

View Full Version : Mini Mods - Disable Save button when clicked (Admincp)


PitchouneN64ngc
09-08-2007, 10:00 PM
Description

With this mod, when you click to a 'Save' button, this button (and the 'Cancel' button if exists) will be no more usable.

This can avoid any doucle click for sending forms and avoid errors.

The better example is given when you download vBulletin from the Members' Area (the 'Download' button).

Note: This will not be applied for all buttons in the Admin Control Panel, only for buttons using the print_submit_row() function.

Enjoy ;)

grey
Installation

Time: 5 minutes
vB version: 3.6.0 to 3.6.x.

grey
Instructions

Follow the file edits (2 files) in the install.txt file.

grey
FAQ

No FAQ for now :p

grey
Copyright

All code present is this mod can't be redistributed or anything else without my consentement.

grey
Changelog

- 1.0.0 : Intial release. (September 10 2007)
- 1.0.1: Maintenance release (October 24 2007)
- Corrected some errors Firebug was able to report.
- Added the possibility to disable the "Edit Settings" button
when yu duble-click in the options list in the vBulletin Options page.

grey
If you like it...

-> Mark as Installed (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=157437) <-
and/or
-> Nominate for MOTM (https://vborg.vbsupport.ru/vborg_miscactions.php?do=nominate&threadid=157437&type=1) <-

Subah
09-09-2007, 10:26 PM
Thank you :)

COBRAws
09-09-2007, 11:00 PM
this should be default to vb =)

staff80
09-10-2007, 09:28 PM
there is an easier way to do this, clicking save button once :)

PitchouneN64ngc
09-24-2007, 09:50 PM
A lot of users can have some lag with their computers and click again after a first clic ;)

I'll made a newer version of this because Firebug reports some errors with it when I'm in the language manager ;)

PitchouneN64ngc
10-24-2007, 06:36 PM
Updated to version 1.0.1 :)