Author: buscob
Date: Fri Nov 27 15:04:45 2009
New Revision: 884891
URL:
http://svn.apache.org/viewvc?rev=884891&view=revLog:
An additional patch from Sascha Rodekamp "Drag'n'Drop update - add directly in the my portal application"
(
https://issues.apache.org/jira/browse/OFBIZ-3227) - OFBIZ-3227
I found a bug while using the IE
Modified:
ofbiz/trunk/framework/images/webapp/images/myportal.js
Modified: ofbiz/trunk/framework/images/webapp/images/myportal.js
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/myportal.js?rev=884891&r1=884890&r2=884891&view=diff==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/myportal.js (original)
+++ ofbiz/trunk/framework/images/webapp/images/myportal.js Fri Nov 27 15:04:45 2009
@@ -25,8 +25,8 @@
//init KeyListener
window.onload=function(){
- document.onkeydown = key_event;
- document.onkeypress = key_event;
+ //Observe
+ Event.observe(document, "keypress", key_event);
//set a column droppable when it's empty
checkIfTabelsContainsDivs();
@@ -318,7 +318,7 @@
for(var i=0; i<td.length; i++){
//if the next DIV is the hoverDiv do nothing
- var next = (td[i].select('DIV'));
+ var next = td[i].getElementsByTagName('DIV');
if(next.length == 0){
//make a column droppable when it's empty
makeDroppable(td[i].getAttribute('id'));