deleteMarkedDocuments() not work on Notes 7?

Dear All,

I am going to enable a view on web access and I found that there have no delete function implemented on both general view or applet view.

Then I implemented a javascript function deleteMarkedDocuments() of undocument view applet API on a action of the applet view. But I found that deleteMarkedDocuments() seems not work while others does(likes getCurrentDocument() , markSelectedDocumentsForDelete().

I can see the selected document enabled a rubbish bin icon on the left and then disabled after I clicked on the button with the following script:


document.applets.view.markSelectedDocumentsForDelete();

document.applets.view.deleteMarkedDocuments();

document.applets.view.refresh();

alert(document.applets.view.getCurrentDocument());


Can anyone help me to point out the problem.

thank you~

Jambalaya