aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/www/skin/classic/module-naplo/javascript
diff options
context:
space:
mode:
authorM.Gergo2019-03-08 20:51:30 +0100
committerM.Gergo2019-03-08 20:51:30 +0100
commitc76a004b0135786f2742283f8d5f917106f58bd8 (patch)
tree9d824a86cd5f92c45461d7b4f8160b27527b4f7d /mayor-orig/www/skin/classic/module-naplo/javascript
parent3dab26c6797b32926287f22a041380080551060b (diff)
downloadmayor-c76a004b0135786f2742283f8d5f917106f58bd8.tar.gz
mayor-c76a004b0135786f2742283f8d5f917106f58bd8.zip
Rev: 4455
Diffstat (limited to 'mayor-orig/www/skin/classic/module-naplo/javascript')
-rw-r--r--mayor-orig/www/skin/classic/module-naplo/javascript/orarend/szabadTerem.jquery.min.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/mayor-orig/www/skin/classic/module-naplo/javascript/orarend/szabadTerem.jquery.min.js b/mayor-orig/www/skin/classic/module-naplo/javascript/orarend/szabadTerem.jquery.min.js
new file mode 100644
index 00000000..55f50fc6
--- /dev/null
+++ b/mayor-orig/www/skin/classic/module-naplo/javascript/orarend/szabadTerem.jquery.min.js
@@ -0,0 +1,17 @@
+$(function() {
+
+ function isMobile() { // --TODO -- global namespace
+ try{ document.createEvent("TouchEvent"); return true; }
+ catch(e){ return false; }
+ }
+
+ $('form.teremKereso span').on('click',function(event) {
+ var el = $(event.target);
+ var teremType = ($(el).data('c'));
+ $("table.orarend span[class='teremAdat "+teremType+"']").toggle();
+ el.toggleClass('clk');
+ console.log(teremType);
+ event.stopPropagation();
+ });
+
+});