Subversion Repositories SmartDukaan

Rev

Rev 36442 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 36442 Rev 37494
Line 421... Line 421...
421
                    $('#selectModelItems .modal-content').html(response);
421
                    $('#selectModelItems .modal-content').html(response);
422
 
422
 
423
                });
423
                });
424
            });
424
            });
425
 
425
 
-
 
426
    // Fragment is re-injected with .html(), which re-runs this script; clear the
-
 
427
    // namespace first so handlers replace rather than stack (one click would
-
 
428
    // otherwise fire N identical requests and be rejected as duplicates).
-
 
429
    $(document).off('.placementplan');
426
    $(document).on(
430
    $(document).on(
427
            "click",
431
            "click.placementplan",
428
            ".submit-item-po",
432
            ".submit-item-po",
429
            function (e) {
433
            function (e) {
430
                var seletedIds;
434
                var seletedIds;
431
                var jsonObject = {};
435
                var jsonObject = {};
432
                var seletedIdsJson = [];
436
                var seletedIdsJson = [];