deprecated wikismartFoswikiIcons = %SMARTEDITICONS% removed
authorColas Nahaboo <colas@nahaboo.net>
Wed, 15 Apr 2009 00:24:15 +0200
changeset 14ea57c5ac4459
parent 13 1afa24512fb7
child 15 1ca049c452a6
deprecated wikismartFoswikiIcons = %SMARTEDITICONS% removed
README-SmartEditContrib.txt
pub/System/SmartEditContrib/smartEditUI.js
     1.1 --- a/README-SmartEditContrib.txt	Wed Apr 15 00:20:22 2009 +0200
     1.2 +++ b/README-SmartEditContrib.txt	Wed Apr 15 00:24:15 2009 +0200
     1.3 @@ -73,7 +73,6 @@
     1.4  wikismartFoswikiUserIcons = ""+'%SMARTEDITICONUSER%";
     1.5  // End of copy
     1.6  wikismartCurrentWeb = "%WEB%";
     1.7 -wikismartFoswikiIcons = "%SMARTEDITICONS%";
     1.8  // To know the id of the textarea ... if it is not 'topic'
     1.9  wikismartEdit('topic');
    1.10  </script>
     2.1 --- a/pub/System/SmartEditContrib/smartEditUI.js	Wed Apr 15 00:20:22 2009 +0200
     2.2 +++ b/pub/System/SmartEditContrib/smartEditUI.js	Wed Apr 15 00:24:15 2009 +0200
     2.3 @@ -1842,7 +1842,6 @@
     2.4  			}
     2.5  		}
     2.6  		else{ // Sinon, il faut la rajouter
     2.7 -			//smartEditCreateSmileyDiv(src); 
     2.8  			smartEditCreateSmileyDivStringVersion(src);
     2.9  			if(smartExtendedStylesOpen){
    2.10  				smartEditToggleStyles();
    2.11 @@ -1873,23 +1872,6 @@
    2.12  	wikismartTextarea.focus();
    2.13  }
    2.14  
    2.15 -function smartEditCreateSmileyDiv(source){
    2.16 -	var theDivToShow = smartEditorGetDynamicDivision(source);// Create a context menu under the source position
    2.17 -	theDivToShow.id = "SmartEditInsertSmiley";
    2.18 -	theDivToShow.className = "SmartEditInsertSmiley"+smartEditorIECssClass;
    2.19 -	theDivToShow.innerHTML = wikismartFoswikiIcons;
    2.20 -	//document.body.appendChild(theDivToShow);
    2.21 -	wikismartTextarea.parentNode.appendChild(theDivToShow);
    2.22 -	var smartAllIcons = theDivToShow.getElementsByTagName("IMG");
    2.23 -	if(smartAllIcons != null && smartAllIcons.length > 0){
    2.24 -		for(var i=0;i<smartAllIcons.length;i++){
    2.25 -			var tmpIcon = smartAllIcons[i];
    2.26 -			smartEditApplyActionForIcon(tmpIcon);
    2.27 -		}
    2.28 -	}
    2.29 -	SmartEditInsertSmileyOpen = true;
    2.30 -}
    2.31 -
    2.32  function smartEditApplyActionForIcon(theIcon){
    2.33  	theIcon.onclick = function(){
    2.34  		var theCheatDiv = document.createElement("DIV");