ICEmobile
  1. ICEmobile
  2. MOBI-485

ContentMenuItem rendering 'parent' js argument which isn't used in layoutmenu.js

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1 Final
    • Fix Version/s: 1.3.1
    • Component/s: Faces
    • Labels:
      None
    • Environment:
      n/a

      Description


      The ContentMenuItem renderer is rendering the argument 'parent' for the js call using the value of the contentNavBar. But this doesn't seemed to be used in the script. We should remove it if it's not needed.


      StringBuilder sb = new StringBuilder("mobi.layoutMenu.showContent('").append(stackClientId);
                          sb.append("', event");
                          sb.append(",{ selectedId: '").append(item.getValue()).append("'");
                          sb.append(",singleSubmit: ").append(item.isSingleSubmit());
                          sb.append(", parent: '").append(navBar.getClientId(facesContext)).append("'");

        Issue Links

          Activity

          Migration created issue -
          Migration made changes -
          Field Original Value New Value
          Reporter Migration [ remote ] User Philip.breau [ philip.breau ]
          Philip Breau made changes -
          Fix Version/s 1.2 Beta [ 10344 ]
          Philip Breau made changes -
          Fix Version/s 1.2 Final [ 10371 ]
          Fix Version/s 1.2 Beta [ 10344 ]
          Philip Breau made changes -
          Fix Version/s 1.2 EE [ 10372 ]
          Fix Version/s 1.2 Final [ 10371 ]
          Judy Guglielmin made changes -
          Fix Version/s 1.3 Beta [ 10373 ]
          Fix Version/s 1.2 EE [ 10372 ]
          Steve Maryka made changes -
          Assignee Steve Maryka [ steve.maryka ] Judy Guglielmin [ judy.guglielmin ]
          Judy Guglielmin made changes -
          Link This issue is duplicated by MOBI-672 [ MOBI-672 ]
          Judy Guglielmin made changes -
          Fix Version/s 1.4 Beta [ 10874 ]
          Fix Version/s 1.3 Beta [ 10373 ]
          Philip Breau made changes -
          Assignee Judy Guglielmin [ judy.guglielmin ] Philip Breau [ philip.breau ]
          Philip Breau made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Philip Breau made changes -
          Fix Version/s 1.3.1 [ 11376 ]
          Fix Version/s 1.4 Beta [ 10874 ]

            People

            • Assignee:
              Philip Breau
              Reporter:
              Philip Breau
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: