Page 1 of 1

right click page 2menu show

PostPosted:Sun Jan 11, 2009 3:02 am
by stanley
when I right click the document ,there are 2 div show ,a openkm div and a ie div ,how can I remove the ie div

Re:right click page 2menu show

PostPosted:Mon Jan 12, 2009 9:50 am
by pavila
Can you elaborate the question? I don\'t understand you.

Re:right click page 2menu show

PostPosted:Mon Jan 12, 2009 3:36 pm
by jllort
Really you\'re talking about contextual menus, when you click righ click appears OpenKM menu, but appears IE contextual menu.

I\'ll investigate why appears it, because there were diabled by js code and was running on version OpenKM 2.0 without problems.

Re:right click page 2menu show

PostPosted:Mon Jan 12, 2009 5:30 pm
by jllort
I\'ve founded the problem, sorry for this little bug. On next openkm release it\'ll be fixed.

Meanwhile if you want to apply some path it\'s so easy.

Edit file OpenKm.ear/OpenKm.war/es.git.openkm.frontend.Main/index.html and simply modify <body> to <body onContextMenu=\"return false\">

Then it\'ll go fine for IE too. Sorry for the inconvenience.

Re:right click page 2menu show

PostPosted:Tue Aug 25, 2009 4:09 pm
by bidouille
Hello,
jllort wrote:Edit file OpenKm.ear/OpenKm.war/es.git.openkm.frontend.Main/index.html
Well on my Debian, I\'m looking for this file and I have only in
Code: Select all
./server/default/tmp/deploy/tmp28645OpenKM.ear-contents/...
Where is it?
:huh:

Re:right click page 2menu show

PostPosted:Thu Aug 27, 2009 8:22 am
by jllort
You must stop jboss, edit OpenKM.ear file contents under deploy directory as I said, and then restart jboss, not editing the temporary jboss files.

Re:right click page 2menu show

PostPosted:Thu Aug 27, 2009 2:30 pm
by bidouille
OK I found ./server/default/deploy/OpenKM.ear but it seems to be a binary file.

Sorry, but where is index.html that you mentionned below?

:(

Re:right click page 2menu show

PostPosted:Fri Aug 28, 2009 8:19 am
by jllort
You must open OpenKM.ear with winrar for example, and into open OpenKM.war navigating to Edit file OpenKm.ear/OpenKm.war/es.git.openkm.frontend.Main/index.html and simply modify <body> to <body onContextMenu=\"return false\">

Re:right click page 2menu show

PostPosted:Fri Aug 28, 2009 9:47 am
by bidouille
You must open OpenKM.ear with winrar
:woohoo: This is the missing info: ear = rar
and simply modify <body> to <body onContextMenu=\"return false\">
I did it

Bad news: Firefox context menu still show