Results 1 to 2 of 2

Thread: [SOLVED] how to create new Operation?

  1. #1
    Join Date
    Jan 2009
    Rep Power

    Default [SOLVED] how to create new Operation?

    I like zimbra(of course). But I have a problem when I want to create new Operation in Zimbra.
    I need to add a new menu item when I click on a folder tree. I think I must define a new operation in ZmOperation:
    ZmOperation.registerOP("Share_all",{textKey:" Share this foder to public"});
    Then I must add it to a menu action of folder tree.
    But in fact, it's not work!
    Who can help me: how I do in this case? Thank you.

  2. #2
    Join Date
    Jan 2009
    Rep Power

    Default I resolved

    Ok, now, I can resolve it. Too simple, You must define operation in ZmOperation.js then use createMenuItem of ZmPopupMenu object to add it to menu context. Notice: you should check if this menuItem is present before add it to menu context. have fun!!!

Similar Threads

  1. REPAIR: Zimbra wont start
    By emcampos in forum Administrators
    Replies: 6
    Last Post: 06-10-2009, 04:52 AM
  2. Various errors during install and initial startup
    By theschles in forum Installation Help
    Replies: 2
    Last Post: 11-21-2007, 01:51 PM
  3. How to move backup to another drive
    By ghanedan in forum Administrators
    Replies: 1
    Last Post: 06-25-2007, 06:43 AM
  4. Opensource backup Question.
    By nfear24 in forum Administrators
    Replies: 3
    Last Post: 03-31-2007, 11:47 PM
  5. MTA is Dying after yum update
    By tonyawbrey in forum Administrators
    Replies: 27
    Last Post: 04-02-2006, 06:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts