CRM-4796 Configure events tabs - detect if user changed form data and warn if they navigate away without saving

    Details

    • Type: Sub-task
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.0
    • Fix Version/s: 3.1
    • Component/s: CiviEvent
    • Labels:
      None

      Description

      Currently users can easily make changes in one of the event configuration tabs and then click another tab without realizing that their data has not been saved. We should detect form data changes and give a warning. I found two potential jQuery approaches for this with a quick net search:

      http://stackoverflow.com/questions/807159/detecting-data-changes-in-forms-using-jquery
      http://www.elctech.com/articles/dirtyform-watching-for-form-changes-with-jquery

        Attachments

          Activity

          [CRM-4796] Configure events tabs - detect if user changed form data and warn if they navigate away without saving
          Kurund Jalmi added a comment -
          • fixed in rev 24208
          David Greenberg added a comment -

          works great!

          Yashodha Chaku added a comment -

          assigning for 3.1 verification

          Rajan P Mayekar added a comment -

          Verified in r 25305.

          Sushant Paste added a comment -

          verified in r28621.

            People

            • Assignee:
              Sushant Paste
              Reporter:
              David Greenberg

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 3 hours
                3h
                Remaining:
                Remaining Estimate - 3 hours
                3h
                Logged:
                Time Spent - Not Specified
                Not Specified