rem: oFCKeditor.Config['ImageBrowserURL'] = browsePrefix + "Type=Image&CurrentFolder=" + collection_id; oFCKeditor.Config['LinkBrowserURL'] = browsePrefix + "Type=Link&CurrentFolder=" + collection_id; oFCKeditor.Config['FlashBrowserURL'] = browsePrefix + "Type=Flash&CurrentFolder=" + collection_id; oFCKeditor.Config['ImageUploadURL'] = uploadPrefix + "Type=Image&Command=QuickUpload&Type=Image&CurrentFolder=" + collection_id; oFCKeditor.Config['FlashUploadURL'] = uploadPrefix + "Type=Flash&Command=QuickUpload&Type=Flash&CurrentFolder=" + collection_id; oFCKeditor.Config['LinkUploadURL'] = uploadPrefix + "Type=File&Command=QuickUpload&Type=Link&CurrentFolder=" + collection_id; 
add: if (collection_id != "") { oFCKeditor.Config['ImageBrowserURL'] = browsePrefix + "Type=Image&CurrentFolder=" + collection_id; oFCKeditor.Config['LinkBrowserURL'] = browsePrefix + "Type=Link&CurrentFolder=" + collection_id; oFCKeditor.Config['FlashBrowserURL'] = browsePrefix + "Type=Flash&CurrentFolder=" + collection_id; oFCKeditor.Config['ImageUploadURL'] = uploadPrefix + "Type=Image&Command=QuickUpload&Type=Image&CurrentFolder=" + collection_id; oFCKeditor.Config['FlashUploadURL'] = uploadPrefix + "Type=Flash&Command=QuickUpload&Type=Flash&CurrentFolder=" + collection_id; oFCKeditor.Config['LinkUploadURL'] = uploadPrefix + "Type=File&Command=QuickUpload&Type=Link&CurrentFolder=" + collection_id; } 
context: SakaiProject.fckeditor = function() {  // Private functions, if any    // Public   return {    initializeEditor: function(textarea_id, collection_id) {      var basepath = "/library/editor/FCKeditor/";      var browsePrefix = basepath + "editor/filemanager/browser/default/browser.html?Connector=/sakai-fck-connector/web/editor/filemanager/browser/default/connectors/jsp/connector&";      var uploadPrefix = basepath + "/sakai-fck-connector/web/editor/filemanager/browser/default/connectors/jsp/connector?";            var oFCKeditor = new FCKeditor(textarea_id);	  oFCKeditor.BasePath = basepath;	  oFCKeditor.Config['ImageBrowserURL'] = browsePrefix + "Type=Image&CurrentFolder=" + collection_id;	  oFCKeditor.Config['LinkBrowserURL'] = browsePrefix + "Type=Link&CurrentFolder=" + collection_id;	  oFCKeditor.Config['FlashBrowserURL'] = browsePrefix + "Type=Flash&CurrentFolder=" + collection_id;	  oFCKeditor.Config['ImageUploadURL'] = uploadPrefix + "Type=Image&Command=QuickUpload&Type=Image&CurrentFolder=" + collection_id;	  oFCKeditor.Config['FlashUploadURL'] = uploadPrefix + "Type=Flash&Command=QuickUpload&Type=Flash&CurrentFolder=" + collection_id;	  oFCKeditor.Config['LinkUploadURL'] = uploadPrefix + "Type=File&Command=QuickUpload&Type=Link&CurrentFolder=" + collection_id;      // oFCKeditor.Width  = "600" ;      // oFCKeditor.Height = "400" ;	  oFCKeditor.Config['CustomConfigurationsPath'] = "/library/editor/FCKeditor/config.js";	  oFCKeditor.ReplaceTextarea() ;    }  };}();
meta: 9214	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9214/aeb94660278ce1765b153dfeae19e503624af1fc/SakaiRSFWidgets.js/buggy/SakaiRSFComponents/templates/src/webapp/content/js/SakaiRSFWidgets.js