Uploaded image for project: 'Isis'
  1. Isis
  2. ISIS-2657

If action parameter first field is an auto-complete drop-down, then it doesn't get focus.

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0-M6
    • Component/s: Isis Viewer Wicket
    • Labels:
      None

      Description

      This might have been an issue for a while, or perhaps due to the bootstrap upgrade.  

      Looking at jquery.isis.wicket.viewer.js, I see:

      Wicket.Event.subscribe(Isis.Topic.FOCUS_FIRST_PARAMETER, function(jqEvent, elementId) {
          setTimeout(function() {
              $('#'+elementId).find('.inputFormTable.parameters').find('input,textarea,select,div.cbx').filter(':visible:first').focus();
          }, 0);
      });
       

      while inspection of what has focus suggests that instead of <select> that it should be <span class='select2'>

        Attachments

          Activity

            People

            • Assignee:
              danhaywood Daniel Keir Haywood
              Reporter:
              danhaywood Daniel Keir Haywood

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment