Index: openacs-4/packages/acs-templating/www/resources/xinha-nightly/modules/InsertImage/insert_image.js =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/xinha-nightly/modules/InsertImage/insert_image.js,v diff -u -r1.5 -r1.6 --- openacs-4/packages/acs-templating/www/resources/xinha-nightly/modules/InsertImage/insert_image.js 13 May 2008 18:53:46 -0000 1.5 +++ openacs-4/packages/acs-templating/www/resources/xinha-nightly/modules/InsertImage/insert_image.js 16 Jan 2009 09:05:47 -0000 1.6 @@ -1,119 +1,2 @@ -/* This compressed file is part of Xinha. For uncompressed sources, forum, and bug reports, go to xinha.org */ -/* This file is part of version 0.95 released Mon, 12 May 2008 17:33:15 +0200 */ -/* The URL of the most recent version of this file is http://svn.xinha.webfactional.com/trunk/modules/InsertImage/insert_image.js */ -InsertImage._pluginInfo={name:"InsertImage",origin:"Xinha Core",version:"$LastChangedRevision:992 $".replace(/^[^:]*:\s*(.*)\s*\$$/,"$1"),developer:"The Xinha Core Developer Team",developer_url:"$HeadURL:http://svn.xinha.webfactional.com/trunk/modules/InsertImage/insert_image.js $".replace(/^[^:]*:\s*(.*)\s*\$$/,"$1"),sponsor:"",sponsor_url:"",license:"htmlArea"}; -function InsertImage(_1){ -} -Xinha.prototype._insertImage=function(_2){ -var _3=this; -var _4; -if(typeof _2=="undefined"){ -_2=this.getParentElement(); -if(_2&&_2.tagName.toLowerCase()!="img"){ -_2=null; -} -} -var _5; -if(typeof _3.config.baseHref!="undefined"&&_3.config.baseHref!==null){ -_5=_3.config.baseHref; -}else{ -var _6=window.location.toString().split("/"); -_6.pop(); -_5=_6.join("/"); -} -if(_2){ -function getSpecifiedAttribute(_7,_8){ -var a=_7.attributes; -for(var i=0;i0)?d:0)+"px";this.getElementById("ipreview").style.width=this.width-2+"px"};this.dialogReady=true}; \ No newline at end of file