clientDefs -menu - buttons - target _blank ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • wtconseil
    replied
    ok thanks tanya ! i was thinking about that but wondering if there were any other tricks to avoid writing that JS file

    Leave a comment:


  • tanya
    replied
    yes..

    Leave a comment:


  • wtconseil
    replied
    meaning that i need to write my custom JS file ?

    Leave a comment:


  • tanya
    replied
    Hello
    Remove link parameter, add action and open new window in your action

    Leave a comment:


  • wtconseil
    started a topic clientDefs -menu - buttons - target _blank ?

    clientDefs -menu - buttons - target _blank ?

    Hi there

    in clientDefs <entity> .json

    I'd like to add a new button like that :

    PHP Code:
    "menu": {
    "list": {
    "buttons": [
    {
    "label": "Dashboard",
    "link": "?entryPoint=Dashboard",
    "acl": "read",
    "style": "default",
    "aclScope": "xxxxxxx"
    }
    ]
    }
    }, 
    
    Is there a way to open that link in a new window ? adding an extra attribute like target="_blank" ?
    Thanks
Working...