From ce21da7962a328a84d86ce4447d023ce732225ed Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Thu, 12 May 2016 11:56:36 +0530 Subject: added js no-conflict function for drupal --- js/main.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/js/main.js b/js/main.js index 6cf7da0..1f1610d 100755 --- a/js/main.js +++ b/js/main.js @@ -1,3 +1,4 @@ +(function ($) { $(document).ready(function() { var basePath = Drupal.settings.basePath; var modPath = basePath + "jobs/"; @@ -14,4 +15,13 @@ $(document).ready(function() { } }); }); + + $(this).on('click','#d_app',function (e){ + if($shortlist.prop("checked") == false){ + alert("Please select atleast one resume for download"); + e.preventDefault(); + } + console.log('####'); + }); }); +})(jQuery); -- cgit