Subversion Repositories SmartDukaan

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
37498 37 d 3 h amit /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Fix: namespace document-level handlers in remaining vm fragments

Completes the sweep started in r37493/r37494. These fragments are injected
with .html(), which re-executes their inline <script>, so every load stacked
another $(document) delegated handler. Mutating handlers then fired N
identical requests and were rejected as duplicates; read-only ones silently
fired N GETs (never deduped, so no alert - just N times the load).

35 fragments, 70 bindings. Adopts the create-purchase-return.vm convention:
one $(document).off('.ns') before the first binding, every event namespaced,
so only the newest binding survives a re-injection.

Notes:
- ticket.vm binds via jQuery(document).on, which the earlier passes did not
match, and its clear must sit OUTSIDE ready() - that callback fires async,
so an inside-ready clear would wipe the top-level binds registered before it.
- agreement-esign-panel, full-stock-payment-panel and create-purchase-return
were left alone; they already clear their handlers (selector-targeted
.off('click', sel) and .off('.createpr') respectively).

Behaviour-preserving: every diff line is either a namespace suffix on an
event string or a new off() call. Selectors, handlers and ordering untouched.
Verified no unprotected document-level bindings remain in any fragment.
 
37248 63 d 4 h vikas /trunk/ Updated Escalation Level  
36962 100 d 4 h vikas /trunk/ L4 and Above can now assign beat on same day  
36806 121 d 0 h ranu /trunk/profitmandi-fofo/src/main/ code commit for agenda fill time stamp  
36793 124 d 23 h ranu /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ some enhancement and bug fixes  
36783 126 d 3 h vikas /trunk/profitmandi-fofo/src/main/ Location Tracking - From Punch IN  
36761 127 d 23 h ranu /trunk/profitmandi-fofo/src/main/ some Enhancements or changes  
36736 132 d 2 h ranu /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ beat plan info commit  
36712 134 d 1 h vikas /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Hover Effect On Table  
36709 134 d 1 h vikas /trunk/ Show Image in popup with approve Action, Increased MAP markers size  
36696 135 d 1 h vikas /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Bike Icon Update  
36695 135 d 1 h vikas /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Bike Icon Update:  
36693 135 d 1 h vikas /trunk/profitmandi-fofo/src/main/ Bike Icon Update:  
36685 135 d 4 h vikas /trunk/profitmandi-fofo/src/main/ Beat Reports & Live Tracking & Stops Detection  
36669 136 d 4 h vikas /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Beat Reports & Live Tracking  
36666 136 d 6 h vikas /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Beat Reports & Live Tracking  
36645 138 d 7 h vikas /trunk/ Added Beat Report