Commit 21a3ae9d64e5f2af636bb0d07dc540766bc0c64d

  • avatar
  • admin
  • Mon Sep 05 14:18:32 IST 2011
Changed overlay.js
  
133133 {
134134 path = a11ypi.makePath(currentNode.parentNode);
135135 }
136 //alert("getxPath:\n"+path);
136 alert("getxPath:\n"+path);
137137 return path;
138138 },
139139
199199 else
200200 {
201201
202 d ={}
202 d ={};
203203 var response=xhr.responseText.substring(3).split('###');
204204 for (var j= 0; j< response.length ; j++){
205205 chunk = response[j].substring(1).split('&');
242242
243243 {
244244
245 if (result.nameTag == "img" || result.nameTag =='IMG'){
246
247 result.setAttribute('src',newContent);
245 if (result.tagName == "img" || result.tagName =='IMG'){
246 result.setAttribute('src',newContent.split(',')[1]); //A hack to display images properly, the size has been saved in the database.
247 width = newContent.split(',')[0].split('x')[0];
248 height = newContent.split(',')[0].split('x')[1];
249 result.setAttribute('width',width);
250 result.setAttribute('height', height);
248251
249252 }
250253