Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-10553 Implement contact-locking
  3. CRM-10560

Update "View Contact - Inline Editing" to support locking

    Details

    • Type: Sub-task
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.3.0
    • Fix Version/s: 4.3.0
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      [ ] Add hidden DIV at page level (outside any individual form section) with attr "data:oplock_ts"
      [ ] Add hidden INPUT to each CRM_Contact_Form_Inline_* – oplock_ts:=FIXME
      [ ] Add onload event for CRM_Contact_Form_Inline_*: $(input[oplock_ts]).val($(div#oplock_ts).val())
      [ ] On validation of each 'CRM_Contact_Form_Inline_*', see if submitted "oplock_ts" differs from the DB's "oplock_ts"

      • If it doesn't match, display options to 'Ignore' or refresh the entire screen. 'Ignore' will udpate the page-level and
        form-level "oplock_ts" so that the next click of "Save" will succeed.
        [ ] After submission of successful 'CRM_Contact_Form_Inline_*', return JSON response with revised "oplock_ts"
        [ ] After receiving JSON, extract new "oplock_ts" and update all page-level and form-level elements

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                timotten Tim Otten
                Reporter:
                timotten Tim Otten
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 1 hour, 35 minutes
                  1d 1h 35m