Index: modules/org.opencms.editors/resources/system/workplace/resources/editors/directedit/jq_edit.js =================================================================== RCS file: /usr/local/cvs/opencms/modules/org.opencms.editors/resources/system/workplace/resources/editors/directedit/jq_edit.js,v retrieving revision 1.2 diff -u -r1.2 jq_edit.js --- modules/org.opencms.editors/resources/system/workplace/resources/editors/directedit/jq_edit.js 25 Mar 2008 09:12:44 -0000 1.2 +++ modules/org.opencms.editors/resources/system/workplace/resources/editors/directedit/jq_edit.js 24 Aug 2010 16:28:19 -0000 @@ -161,6 +161,7 @@ /** Function to set the position of the buttons to the correct position. **/ var func_ocms_de_reposition = function() { + if(this.offsetParent) { var offset = $(this).calcOcmsDeOffset(); offset.left = offset.left + $(this).width() - $('#buttons_'+this.id).width(); $('#buttons_'+this.id).css(offset); @@ -169,6 +170,7 @@ } else { $('#buttons_'+this.id).css('visibility', "hidden"); } + } }; /** Function submit the form after clicking the direct edit button. **/