function navigatorMenuPatch() {
      function callback(invokedOn, selectedMenu) {
        var module = invokedOn.closest('a'),
            id = module.attr('data-id'),
            url = '/sys_app_module.do',
            text = selectedMenu.text();

        if (!id) {
          id = module.attr('id');
          if (post_helsinki) {
            if (!module.hasClass('app-node') && !module.hasClass('module-node')) {
              jslog('Not an app or module node.');
              return;
            }
          }
          if (!id) {
            jslog('No data id.');
            return;
          }
        }
        module.$id = id;

        var item, i;
        for (i = 0; i < items.length; i++) {
          item = items[i];
          if (item.name == text) {
            executeMenuItem(item, {
              module: module
            });
            return;
          }
        }
        jslog('Unknown item selected: "' + text + '"');
      }

      var items = snd_ui16_developer_patch_menus.navigator(),
          post_helsinki;

      if (!userHasRole('teamdev_configure_instance')) {
        return;
      }

      createContextMenu('snd_ui16dp_navigator_module_menu', items);

      post_helsinki = minVersion('I');

      // a[id] was introduced in Istanbul. This is backwards compatible to G and H UI16
      $('#gsft_nav').snd_ui16dp_menu({
          event: 'contextmenu',
          selector: 'a[data-id],a[id]',
          menu_id: "#snd_ui16dp_navigator_module_menu",
          callback: callback
      });
      jslog('snd_ui16_developer_patch navigator patch applied');
    }
/**
     * Allow quick acces to navigator records. Right clicking a navigator module
     * will open a context menu.
     *
     * @return {undefined}
     */
Allow quick acces to navigator records. Right clicking a navigator module
will open a context menu.

@return {undefined}
Allow quick acces to navigator records . Right clicking a navigator module will open a context menu . @return { undefined }
function navigatorMenuPatch() {
      function callback(invokedOn, selectedMenu) {
        var module = invokedOn.closest('a'),
            id = module.attr('data-id'),
            url = '/sys_app_module.do',
            text = selectedMenu.text();
        if (!id) {
          id = module.attr('id');
          if (post_helsinki) {
            if (!module.hasClass('app-node') && !module.hasClass('module-node')) {
              jslog('Not an app or module node.');
              return;
            }
          }
          if (!id) {
            jslog('No data id.');
            return;
          }
        }
        module.$id = id;
        var item, i;
        for (i = 0; i < items.length; i++) {
          item = items[i];
          if (item.name == text) {
            executeMenuItem(item, {
              module: module
            });
            return;
          }
        }
        jslog('Unknown item selected: "' + text + '"');
      }
      var items = snd_ui16_developer_patch_menus.navigator(),
          post_helsinki;
      if (!userHasRole('teamdev_configure_instance')) {
        return;
      }
      createContextMenu('snd_ui16dp_navigator_module_menu', items);
      post_helsinki = minVersion('I');
      $('#gsft_nav').snd_ui16dp_menu({
          event: 'contextmenu',
          selector: 'a[data-id],a[id]',
          menu_id: "#snd_ui16dp_navigator_module_menu",
          callback: callback
      });
      jslog('snd_ui16_developer_patch navigator patch applied');
    }
function navigatorMenuPatch ( ) { function callback ( invokedOn , selectedMenu ) { var module = invokedOn . closest ( 'a' ) , id = module . attr ( 'data-id' ) , url = '/sys_app_module.do' , text = selectedMenu . text ( ) ; if ( ! id ) { id = module . attr ( 'id' ) ; if ( post_helsinki ) { if ( ! module . hasClass ( 'app-node' ) && ! module . hasClass ( 'module-node' ) ) { jslog ( 'Not an app or module node.' ) ; return ; } } if ( ! id ) { jslog ( 'No data id.' ) ; return ; } } module . $id = id ; var item , i ; for ( i = 0 ; i < items . length ; i ++ ) { item = items [ i ] ; if ( item . name == text ) { executeMenuItem ( item , { module : module } ) ; return ; } } jslog ( 'Unknown item selected: "' + text + '"' ) ; } var items = snd_ui16_developer_patch_menus . navigator ( ) , post_helsinki ; if ( ! userHasRole ( 'teamdev_configure_instance' ) ) { return ; } createContextMenu ( 'snd_ui16dp_navigator_module_menu' , items ) ; post_helsinki = minVersion ( 'I' ) ; $ ( '#gsft_nav' ) . snd_ui16dp_menu ( { event : 'contextmenu' , selector : 'a[data-id],a[id]' , menu_id : "#snd_ui16dp_navigator_module_menu" , callback : callback } ) ; jslog ( 'snd_ui16_developer_patch navigator patch applied' ) ; }
Allow quick acces to navigator records.
Allow quick acces to navigator records .
// a[id] was introduced in Istanbul. This is backwards compatible to G and H UI16