Kuali Rice Development
  1. Kuali Rice Development
  2. KULRICE-4809

should be able to customize button text in edoclite

    Details

    • Type: Bug Fix Bug Fix
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.0.2.1
    • Fix Version/s: Backlog
    • Component/s: Development
    • Labels:
    • Similar issues:
      KULRICE-4810edoclite should give message to user when buttons are pressed
      KULRICE-848Fix the "Enter" button routing the document on an EDocLite
      KULRICE-2124Add functionality for custom evaluation via default widgets templates [eDocLite]
      KULRICE-841Improve the terrible button labels in EDocLite
      KULRICE-2166Block multiple approvers from being able to open an Edoclite document in edit mode. This will prevent the potential for a workflow exception when second approver clicks an Action button after the first has already done so.
      KULRICE-817Users are confused by two save buttons on Edoclites
      KULRICE-3797Integrate patch to enable lookups on EDocLite
      KULRICE-844Add multiple button-click detection to EDocLite and other screens
      KULRICE-1744Implement proper Super User support in EDocLite
    • Rice Module:
      KEW
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required

      Description

      If you change the button text of "return to previous", the button will no longer work since the button text is submitted to see what button was pressed. An example of a solution is to change the <submit> html element to a <button type="submit" html element where the value submitted can be different than the text shown on the screen.

      Note, as a workaround, you could try doing this in jquery until a proper solution is in place:

      <script type="text/javascript" src="../scripts/jquery.js" />
      <script>

      function submitReturnToPrevious()

      { buttonClick('ReturnToPrevious'); var edocliteForm = document.getElementById('edoclite'); //for some reason, letting this happen onsubmit submits the form anyway... return validateOnSubmit(edocliteForm); }

      $(document).ready(function()

      { //get the button var submitButton = $("input[name=userAction][value='return to previous']"); //add the button we want, after it (one line, don't let it wrap) submitButton.after('<button type="submit" name="userAction" value="return to previous" onclick="return submitReturnToPrevious()" style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size:100%; padding:1px 3px;">apply</button>'); //remove the original button submitButton.remove(); }

      );
      </script>

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Chris Hyzer (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Structure Helper Panel