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 5 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.
 
35971 213 d 2 h aman /trunk/ Feat : Loi 2.0 Enhancement and redesigning  
33649 797 d 1 h tejus.lohani /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ fix table alignment bugs  
33618 805 d 2 h tejus.lohani /trunk/ add functionality to add followUp date brand wise and add brand in followUp mail  
29804 1732 d 8 h manish /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ commit  
29778 1737 d 9 h manish /trunk/profitmandi-fofo/src/main/ commit  
29771 1739 d 4 h manish /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ commit  
29066 1868 d 4 h manish /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ ok  
29065 1868 d 4 h manish /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ ok  
29064 1868 d 5 h manish /trunk/ commit  
29058 1869 d 4 h manish /trunk/profitmandi-fofo/src/main/ changes  
29057 1869 d 20 h manish /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ ok  
29056 1869 d 20 h manish /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ ok  
29055 1869 d 20 h manish /trunk/ change  
29051 1870 d 3 h manish /trunk/ changes  
29024 1875 d 3 h manish /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ okk  
29007 1876 d 3 h manish /trunk/ changes  
28977 1878 d 3 h manish /trunk/ commit  
28901 1884 d 3 h manish /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/  
28883 1886 d 4 h manish /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ ok  

Show All