Fixed bug #17479: javascript error after contextmenu -> delete a page
authorsgalinsk <sgalinsk@709f56b5-9817-0410-a4d7-c38de5d9e867>
Tue, 22 Feb 2011 22:55:22 +0000 (22:55 +0000)
committersgalinsk <sgalinsk@709f56b5-9817-0410-a4d7-c38de5d9e867>
Tue, 22 Feb 2011 22:55:22 +0000 (22:55 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@10569 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/js/extjs/components/pagetree/javascript/actions.js

index c6695fb..c1cccaa 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -8,6 +8,7 @@
        * Fixed bug #17531: htmlMail - Can't send mails on port based systems with Swiftmailer substitution
        * Fixed bug #17452: options.hideRecords.pages is ignored in page tree (Thanks to Andreas Kiessling)
        * Fixed bug #17457: Pagetree - User Mount Points are always expanded
+       * Fixed bug #17479: javascript error after contextmenu -> delete a page
 
 2011-02-22  Christian Kuhn  <lolli@schwarzbu.ch>
 
index bca78a2..a644ec0 100644 (file)
@@ -143,7 +143,7 @@ TYPO3.Components.PageTree.Actions = {
                        node.attributes.nodeData,
                        function(response) {
                                var succeeded = this.evaluateResponse(response);
-                               if (callback !== null) {
+                               if (Ext.isFunction(callback)) {
                                        callback(node, tree, succeeded);
                                }