Permalink
Browse files

API CHANGE Removed unused showIndicator() and hideIndicator() javascr…

…ipt methods

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92640 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
1 parent f76fefa commit 8d637e77e5cd7dfb679e5a16d8f4b6b91791e417 @chillu chillu committed Nov 21, 2009
Showing with 0 additions and 29 deletions.
  1. +0 −29 javascript/LeftAndMain.js
View
@@ -766,35 +766,6 @@ function contextmenu_onclick() {
}
/**
- * 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 = '<img src="' + imgSrc + '" class="indicator ' + displayType + '" id="' + id + '" style="display: none" />';
- 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
*/

0 comments on commit 8d637e7

Please sign in to comment.