Author: chanaka
Date: Wed Jan 30 20:35:08 2008
New Revision: 13183

Log:

edit description issue fixed

Modified:
   branches/registry/1_0/modules/webapps/src/main/webapp/admin/js/common.js

Modified: 
branches/registry/1_0/modules/webapps/src/main/webapp/admin/js/common.js
==============================================================================
--- branches/registry/1_0/modules/webapps/src/main/webapp/admin/js/common.js    
(original)
+++ branches/registry/1_0/modules/webapps/src/main/webapp/admin/js/common.js    
Wed Jan 30 20:35:08 2008
@@ -253,12 +253,12 @@
         normal_div.style.display='none';
         //edit_div.style.display='block';
         edit_div.style.width="100%";
-        edit_div.textContent="test";
+        edit_div.textContent=tmpNormalContent;
         showHideCommon('editButton');
         showHideCommon('saveButton');
         tinyMCE.execCommand('mceAddControl', false, 'descEdit');
         //alert("active Editor thing 2" + tmpNormalContent);
-        tinyMCE.activeEditor.setContent(tmpNormalContent);
+        tinyMCE.setContent(tmpNormalContent);
         
         
     }

_______________________________________________
Registry-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/registry-dev

Reply via email to