Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
37498 38 d 11 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.
 
36836 119 d 8 h ranu /trunk/profitmandi-fofo/src/main/ code commit for agenda fill time stamp  
36784 127 d 10 h vikas /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Location Tracking - From Punch IN  
36783 127 d 11 h vikas /trunk/profitmandi-fofo/src/main/ Location Tracking - From Punch IN  
36733 133 d 17 h vikas /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Changed Salesman Icon Instead of bike Icon  
36732 134 d 2 h vikas /trunk/profitmandi-fofo/src/main/webapp/ Changed Salesman Icon Instead of bike Icon  
36730 134 d 2 h vikas /trunk/profitmandi-fofo/src/main/webapp/ Changed Salesman Icon Instead of bike Icon  
36729 134 d 9 h vikas /trunk/profitmandi-fofo/src/main/webapp/ Changed Salesman Icon Instead of bike Icon  
36717 135 d 7 h vikas /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Description Read More  
36710 135 d 9 h vikas /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Changed attachment URL  
36709 135 d 9 h vikas /trunk/ Show Image in popup with approve Action, Increased MAP markers size  
36690 136 d 10 h vikas /trunk/profitmandi-fofo/src/main/ Beat Reports & Live Tracking & Stops Detection  
36688 136 d 11 h vikas /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Beat Reports & Live Tracking & Stops Detection  
36685 136 d 12 h vikas /trunk/profitmandi-fofo/src/main/ Beat Reports & Live Tracking & Stops Detection  
36682 136 d 14 h vikas /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Beat Reports & Live Tracking  
36666 137 d 14 h vikas /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Beat Reports & Live Tracking  
36664 139 d 5 h vikas /trunk/ Beat Reports & Live Tracking  
36656 139 d 10 h vikas /trunk/ Beat Reports  
36645 139 d 15 h vikas /trunk/ Added Beat Report