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 4 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.
 
36064 198 d 0 h aman /trunk/ Fix:FULL_Stock flow , fin service mark unapplicable ,send invoice to whatsapp by default, update contact list ,Training mail issue  
35971 214 d 1 h aman /trunk/ Feat : Loi 2.0 Enhancement and redesigning  
33927 694 d 8 h tejus.lohani /trunk/ add retailerId in PartnerDealerMapping and fix some bugs  
33891 715 d 10 h tejus.lohani /trunk/ Add to fetch and upload aadhar back for onboading , now need to upload aadhar back in loi form  
33845 734 d 7 h tejus.lohani /trunk/ new flow of Onboarding process and wod-fin report ,  
33413 861 d 2 h tejus.lohani /trunk/ update guide book and send specific language guide book to partner  
32348 1143 d 5 h jai.hind /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Design Related Issue Resolved  
31730 1301 d 2 h tejbeer /trunk/ change  
31431 1366 d 6 h amit.gupta /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ changed Niranjan to kamini  
31371 1379 d 4 h tejbeer /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/  
31363 1380 d 8 h tejbeer /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/  
31359 1381 d 4 h tejbeer /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/  
30286 1642 d 2 h tejbeer /trunk/profitmandi-fofo/src/main/ change  
29139 1862 d 5 h manish /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/  
29017 1876 d 7 h manish /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ ok  
28977 1879 d 2 h manish /trunk/ commit  
28940 1883 d 2 h manish /trunk/ notice issue changes  
28933 1883 d 5 h manish /trunk/profitmandi-fofo/src/main/ ok  
28908 1884 d 8 h tejbeer /trunk/ change  

Show All