[BUGFIX] BE UI: Warning when creating multiple pages should be removed
authorBenjamin Mack <benni@typo3.org>
Sat, 28 May 2011 09:48:08 +0000 (11:48 +0200)
committerSusanne Moog <typo3@susannemoog.de>
Thu, 2 Jun 2011 07:44:10 +0000 (09:44 +0200)
When creating multiple new pages through the functions => wizard, and you'll create the pages you always get a JS question if you really want to do this. This is poor usability and stops the workflow because by that time, everyone should know what he's/she's doing. Additionally, this behaviour is very-"Windows"-like and is not really done in the same way on many other spots of the CMS.

Change-Id: I3990af110785f06b431ad1bdb8d93147397fbf4a
Resolves: #27104
Reviewed-on: http://review.typo3.org/2415
Reviewed-by: Patrick Rodacker
Tested-by: Patrick Rodacker
Reviewed-by: Stefan Neufeind
Reviewed-by: Xavier Perseguers
Reviewed-by: Björn Pedersen
Reviewed-by: Andy Grunwald
Tested-by: Andy Grunwald
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
typo3/sysext/wizard_crpages/class.tx_wizardcrpages_webfunc_2.php

index ea53335..47b19d7 100755 (executable)
@@ -206,7 +206,7 @@ class tx_wizardcrpages_webfunc_2 extends t3lib_extobjbase {
                                '<br /><br />
                                <input type="checkbox" name="createInListEnd" id="createInListEnd" value="1" /> <label for="createInListEnd">'.$LANG->getLL('wiz_newPages_listEnd').'</label><br />
                                <input type="checkbox" name="hidePages" id="hidePages" value="1" /> <label for="hidePages">'.$LANG->getLL('wiz_newPages_hidePages').'</label><br /><br />
-                               <input type="submit" name="create" value="' . $LANG->getLL('wiz_newPages_lCreate') . '" onclick="return confirm(' . $GLOBALS['LANG']->JScharCode($GLOBALS['LANG']->getLL('wiz_newPages_lCreate_msg1')) . ')" />&nbsp;<input type="reset" value="' . $LANG->getLL('wiz_newPages_lReset') . '" /><br />';
+                               <input type="submit" name="create" value="' . $LANG->getLL('wiz_newPages_lCreate') . '" />&nbsp;<input type="reset" value="' . $LANG->getLL('wiz_newPages_lReset') . '" /><br />';
 
                                // Add ExtJS inline code
                                $extCode = '