Subversion Repositories SmartDukaan

Rev

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

Rev 37526 Rev 37651
Line 1421... Line 1421...
1421
    $(document).ready(function () {
1421
    $(document).ready(function () {
1422
        let today = new Date().toISOString().split('T')[0];
1422
        let today = new Date().toISOString().split('T')[0];
1423
        $('#bulletinDate').val(today);
1423
        $('#bulletinDate').val(today);
1424
        refreshBulletinsList();
1424
        refreshBulletinsList();
1425
    });
1425
    });
-
 
1426
 
-
 
1427
    // Deep link: /dashboard?leadRecord=<id> opens that LMS lead record in the shell. Lets the
-
 
1428
    // standalone LMS dashboard hand off to the app (its fragments need this page's jQuery/context).
-
 
1429
    $(document).ready(function () {
-
 
1430
        var leadRecordId = (new URLSearchParams(window.location.search)).get('leadRecord');
-
 
1431
        if (leadRecordId && /^\d+$/.test(leadRecordId)) {
-
 
1432
            doGetAjaxRequestHandler(context + '/leadRecord?leadId=' + leadRecordId, function (response) {
-
 
1433
                $('#main-content').html(response);
-
 
1434
            });
-
 
1435
        }
-
 
1436
    });
1426
</script>
1437
</script>
1427
 
1438
 
1428
</body>
1439
</body>
1429
</html>
1440
</html>
1430
1441