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 19 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.
 
36275 177 d 18 h aman /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Fix:Fix unbilled stock sign  
36268 178 d 19 h ranu /trunk/profitmandi-fofo/src/main/ escaltions updated on dashboard detail  
33990 686 d 0 h tejus.lohani /trunk/ Purchase sale ratio graph related files  
32433 1121 d 22 h amit.gupta /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Fixed front end related issues with add/remove row  
32431 1121 d 23 h amit.gupta /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Fixed front end related issues with add/remove row  
31891 1255 d 17 h tejbeer /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/  
31890 1255 d 17 h tejbeer /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/  
31743 1298 d 19 h tejbeer /trunk/ change  
31683 1313 d 17 h amit.gupta /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Handling  
31566 1338 d 21 h amit.gupta /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Handling  
31225 1407 d 15 h amit.gupta /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Removed unwanted files  
31224 1407 d 16 h amit.gupta /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Removed unwanted files  
31219 1408 d 16 h amit.gupta /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Fixed datatable bug  
31218 1408 d 17 h tejbeer /trunk/ change  
31211 1410 d 22 h tejbeer /trunk/ change  
31180 1418 d 19 h tejbeer /trunk/  
31162 1422 d 19 h tejbeer /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/  
31158 1423 d 0 h tejbeer /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ change  
31157 1423 d 18 h tejbeer /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/  
31156 1423 d 19 h tejbeer /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ change  
31155 1423 d 19 h tejbeer /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/  
31154 1423 d 19 h tejbeer /trunk/profitmandi-fofo/src/main/ change  
30948 1486 d 19 h tejbeer /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/  
29242 1849 d 22 h tejbeer /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/  
29162 1859 d 17 h manish /trunk/profitmandi-fofo/src/main/webapp/ commit  
29143 1862 d 17 h tejbeer /trunk/ change  
29103 1864 d 16 h tejbeer /trunk/ change  
29028 1874 d 1 h tejbeer /trunk/profitmandi-fofo/src/main/ change  
27903 2045 d 17 h tejbeer /trunk/ chnage  
27894 2045 d 23 h tejbeer /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/  
27893 2045 d 23 h tejbeer /trunk/ secondary changes  
27661 2090 d 15 h tejbeer /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/  
27660 2090 d 16 h tejbeer /trunk/ change  
27643 2093 d 23 h tejbeer /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ change  
27640 2094 d 17 h tejbeer /trunk/ change  
27637 2095 d 16 h tejbeer /trunk/profitmandi-fofo/src/main/ change  
27636 2095 d 17 h tejbeer /trunk/ change  
27586 2104 d 16 h tejbeer /trunk/ change  
27579 2104 d 19 h tejbeer /trunk/ change