Uploaded image for project: 'Kuali Rice Development'
  1. Kuali Rice Development
  2. KULRICE-4809

should be able to customize button text in edoclite

    Details

    • Type: Bug Fix
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.0.2.1
    • Fix Version/s: Backlog
    • Component/s: Development
    • Labels:
    • 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>

        Attachments

          Activity

          mchyzer Chris Hyzer (Inactive) created issue -
          jcoltrin Jessica Coltrin (Inactive) made changes -
          Field Original Value New Value
          Fix Version/s 1.0.4? [ 16014 ]
          jcoltrin Jessica Coltrin (Inactive) made changes -
          Fix Version/s 2.x-backlog [ 15811 ]
          Fix Version/s 1.x-backlog [ 16014 ]
          jcoltrin Jessica Coltrin (Inactive) made changes -
          Start Date
          Fix Date [ set to sprint end date ]
          spatterson Shem Patterson (Inactive) made changes -
          Workflow custom [ 88245 ] Copy of custom for rice [ 206982 ]
          spatterson Shem Patterson (Inactive) made changes -
          Workflow Copy of custom for rice [ 206982 ] custom [ 216730 ]
          spatterson Shem Patterson (Inactive) made changes -
          Workflow custom [ 216730 ] Rice Workflow [ 226478 ]
          kbtaylor Kristina Taylor (Inactive) made changes -
          Fix Version/s Middleware Backlog [ 17860 ]
          Fix Version/s Backlog [ 15811 ]
          kbtaylor Kristina Taylor (Inactive) made changes -
          Fix Version/s Backlog [ 15811 ]
          Fix Version/s Middleware Backlog [ 17860 ]
          kbtaylor Kristina Taylor (Inactive) made changes -
          Rank Ranked higher
          ewestfal Eric Westfall made changes -
          Labels Old

            People

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

              Dates

              • Created:
                Updated: