Related to issue 19689: It is not possible to change Role twice in a row
authorMartin Taal <martin.taal@openbravo.com>
Fri, 24 Feb 2012 09:56:12 +0100
changeset 15614 01a2cc09fc25
parent 15613 650146191c5f
child 15615 3ed18f646a6b
Related to issue 19689: It is not possible to change Role twice in a row
Backout as issue is not resolved by this change
src/index.jsp
--- a/src/index.jsp	Fri Feb 24 13:32:08 2012 +0100
+++ b/src/index.jsp	Fri Feb 24 09:56:12 2012 +0100
@@ -21,7 +21,7 @@
  * The Initial Developer of the Original Code is Openbravo SLU 
  * All portions are Copyright (C) 2011-2012 Openbravo SLU
  * All Rights Reserved. 
- * Contributor(s):  _____________________________________.
+ * Contributor(s):  ______________________________________.
  ************************************************************************
  */
 
@@ -168,7 +168,7 @@
 
 function OBCreateScriptTag(src) {
   var script = document.createElement("script"),
-    body = document.body || document.getElementsByTagName("body")[0];
+    body = document.body || document.getElementsByTagName("body");
 
   script.type = 'text/javascript';
   script.src = src;