From 8d637e77e5cd7dfb679e5a16d8f4b6b91791e417 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Sat, 21 Nov 2009 02:37:55 +0000 Subject: [PATCH] API CHANGE Removed unused showIndicator() and hideIndicator() javascript methods git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92640 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- javascript/LeftAndMain.js | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/javascript/LeftAndMain.js b/javascript/LeftAndMain.js index 664a9787..76e9adb6 100644 --- a/javascript/LeftAndMain.js +++ b/javascript/LeftAndMain.js @@ -765,35 +765,6 @@ function contextmenu_onclick() { return false; } -/** - * Shows an ajax loading indicator. - * - * @param id String Identifier for the newly created image - * @param container ID/DOM Element - * @param imgSrc String (optional) - * @param insertionType Object (optional) Prototype-style insertion-classes, defaults to Insertion.Bottom - * @param displayType String (optional) "inline" or "block" - */ -function showIndicator(id, container, imgSrc, insertionType, displayType) { - if(!id || !$(container)) return false; - if(!imgSrc) imgSrc = "cms/images/network-save.gif"; - if(!displayType) displayType = "inline"; - if(!insertionType) insertionType = Insertion.Bottom; - - if(!$(id)) { - var html = ''; - new insertionType(container, html); - } - - Effect.Appear(id); -} - -function hideIndicator(id) { - Effect.Fade(id, {duration: 0.3}); -} - - - /** * Find and enable TinyMCE on all htmleditor fields * Pulled in from old tinymce.template.js