Hello,

I'm working on HippoCMS 6.05.06.
I noticed that when i go to the "search" tab and i try to search some document, the result list has a button to go directly to the document editing.

But, when I click on the button it doesn't open the editor. It opens an alert that says "true" and the document is locked.


I saw that the called function (editDocumentFromSearch into the file actions.js) raises an error that can be removed by changing the code like this:

function editDocumentFromSearch()
{
  var uriPrefix = cocoon.parameters["uriPrefix"];
  var resourceId = cocoon.parameters["resourceId"];
  var result = editDocument(uriPrefix, resourceId, new HashMap());
  cocoon.sendPage("lockresult.jx", {success:result});
}

But the behavior of the function is always the same.. only an alert with the text "true"..

Can you help me?
PS: Thanks in advance.

--
By MCM.
********************************************
Hippocms-dev: Hippo CMS development public mailinglist

Searchable archives can be found at:
MarkMail: http://hippocms-dev.markmail.org
Nabble: http://www.nabble.com/Hippo-CMS-f26633.html

Reply via email to