summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorprashantsinalkar2016-05-12 11:56:36 +0530
committerprashantsinalkar2016-05-12 11:57:54 +0530
commitce21da7962a328a84d86ce4447d023ce732225ed (patch)
treeaacd3d9b2fd33a339705c8f17a26b17adcd2f092
parentf858c6639adb0b532b56eb81ee339d4a82a22c45 (diff)
downloadjob_portal-ce21da7962a328a84d86ce4447d023ce732225ed.tar.gz
job_portal-ce21da7962a328a84d86ce4447d023ce732225ed.tar.bz2
job_portal-ce21da7962a328a84d86ce4447d023ce732225ed.zip
added js no-conflict function for drupal
-rwxr-xr-xjs/main.js10
1 files changed, 10 insertions, 0 deletions
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);