[BUGFIX] Cancel button "id" in workspaces contains a typo 79/38579/2
authorPierre Boivin <pierre.boivin@libeo.com>
Wed, 18 Mar 2015 20:53:02 +0000 (16:53 -0400)
committerAndreas Fernandez <andreas.fernandez@aspedia.de>
Thu, 9 Apr 2015 09:16:59 +0000 (11:16 +0200)
Resolves: #65829
Releases: master,6.2
Change-Id: Ifa7a1c53cf560d985cfc5bc14f5ec681074bda2d
Reviewed-on: http://review.typo3.org/38579
Reviewed-by: Andreas Fernandez <andreas.fernandez@aspedia.de>
Tested-by: Andreas Fernandez <andreas.fernandez@aspedia.de>
typo3/sysext/workspaces/Resources/Public/JavaScript/actions.js
typo3/sysext/workspaces/Resources/Public/JavaScript/toolbar.js

index d868bac..8fda17d 100644 (file)
@@ -92,7 +92,7 @@ TYPO3.Workspaces.Actions = {
                if (response.error) {
                        top.Ext.getCmp('executeMassActionProgressBar').hide();
                        top.Ext.getCmp('executeMassActionOkButton').hide();
-                       top.Ext.getCmp('executeMassActionCancleButton').setText(TYPO3.l10n.localize('close'));
+                       top.Ext.getCmp('executeMassActionCancelButton').setText(TYPO3.l10n.localize('close'));
                        top.Ext.getCmp('executeMassActionForm').show();
                        top.Ext.getCmp('executeMassActionForm').update(response.error);
                        TYPO3.Workspaces.Helpers.refreshPageTree();
@@ -102,7 +102,7 @@ TYPO3.Workspaces.Actions = {
                        } else {
                                top.Ext.getCmp('executeMassActionProgressBar').hide();
                                top.Ext.getCmp('executeMassActionOkButton').hide();
-                               top.Ext.getCmp('executeMassActionCancleButton').setText(TYPO3.l10n.localize('close'));
+                               top.Ext.getCmp('executeMassActionCancelButton').setText(TYPO3.l10n.localize('close'));
                                top.Ext.getCmp('executeMassActionForm').show();
                                top.Ext.getCmp('executeMassActionForm').update(TYPO3.l10n.localize('runMassAction.done').replace('%d', response.total));
                                TYPO3.Workspaces.Helpers.refreshPageTree();
index bcb82b4..4b58cf0 100644 (file)
@@ -272,7 +272,7 @@ TYPO3.Workspaces.Toolbar.selectStateMassActionCombo = new Ext.form.ComboBox({
                                                }
                                        },
                                        {
-                                               id: 'executeMassActionCancleButton',
+                                               id: 'executeMassActionCancelButton',
                                                scope: this,
                                                text: TYPO3.l10n.localize('cancel'),
                                                handler: function() {