Commit 466acef1131d5d40f2c4d3f9205b8a9cf22f9d38

Authored by Steve MARECHAL
1 parent 9144e404

dojo grid modifications

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
calexium_lib/web/CXM_dojo.anubis
... ... @@ -60,6 +60,7 @@ public define HTML_Off_Form
60 60 String colum2,
61 61 String colum3,
62 62 String colum4,
  63 + Bool can_edit
63 64 )
64 65 =
65 66 literal("<script>
... ... @@ -68,7 +69,7 @@ public define HTML_Off_Form
68 69 }
69 70 )();
70 71 dojo.addOnLoad(function(){
71   - init_dojo_grid(\""+colum1+"\",\""+colum2+"\", \""+colum3+"\", \""+colum4+"\");
  72 + init_dojo_grid(\""+colum1+"\",\""+colum2+"\", \""+colum3+"\", \""+colum4+"\", "+ (if can_edit then "1" else "0")+");
72 73 }
73 74 );
74 75 </script>
... ...