From 8f8fc390374681cd537e4216f0366d6fe8a6c73c Mon Sep 17 00:00:00 2001
From: M.Gergo
Date: Fri, 7 Sep 2018 22:27:52 +0200
Subject: Rev: 4358
---
.../classic/module-naplo/javascript/naplo.jquery.min.js | 13 +++++++++----
.../module-naplo/javascript/orarend/orarend.jquery.min.js | 6 ++++++
2 files changed, 15 insertions(+), 4 deletions(-)
(limited to 'mayor-orig/www/skin/classic/module-naplo/javascript')
diff --git a/mayor-orig/www/skin/classic/module-naplo/javascript/naplo.jquery.min.js b/mayor-orig/www/skin/classic/module-naplo/javascript/naplo.jquery.min.js
index c357f692..80276f20 100644
--- a/mayor-orig/www/skin/classic/module-naplo/javascript/naplo.jquery.min.js
+++ b/mayor-orig/www/skin/classic/module-naplo/javascript/naplo.jquery.min.js
@@ -673,7 +673,7 @@ processJSONOraAdat = function(adat) {
// if (adat['oraAdat']['kiCn']!='') content += '
Tanár: ' + adat['oraAdat']['kiCn'] +'';
if (adat['oraAdat']['kitCn']!='') content += 'Helyettesítendő: ' + adat['oraAdat']['kitCn'] +'';
content += 'Terem: ' + (adat['oraAdat']['teremId']==null?'–':adat['oraAdat']['teremId']) +'';
- content += 'Leírás: ' + mayorLeiras(adat['oraAdat']['leiras']) +'';
+ content += 'Leírás: ' + (adat['oraAdat']['leiras']) +'';
content += '';
if (adat['oraBeirhato']) content += adat['oraForm'];
@@ -854,8 +854,9 @@ processJSONTankorAdat = function(adat) {
content += '';
}
- content += ''+adat['leiras']+'
';
+ content += ''+mayorLeiras(adat['leiras'])+'
';
content += '';
+ content += '- megjegyzés: '+adat['cn']+'
';
content += '- névsor: '+adat['nevsor']+'
';
content += '- választható: '+adat['felveheto']+' ('+adat['min']+'-'+adat['max']+')
';
content += '- jelenlét: '+adat['jelenlet']+'
';
@@ -916,15 +917,19 @@ processJSONTankorAdat = function(adat) {
content += '';
if ( $('#updateWindowSide').hasClass('nyitva') ==true && $('#mayorsidewindowtype').data('mayorsidewindowtype')!='tankor' ) {
- $('#updateWindowSideSubTitle').html(adat['tankorNev']);
+// $('#updateWindowSideSubTitle').html(adat['tankorNev']);
+ $('#updateWindowSideSubTitle').html(''+adat['tankorNev']+'');
$('#updateWindowSideSubContent').html(content);
$('#updateWindowSideSub').addClass('nyitva');
} else {
- $('#updateWindowSideTitle').html(adat['tankorNev']);
+// $('#updateWindowSideTitle').html(adat['tankorNev']);
+ $('#updateWindowSideTitle').html(''+adat['tankorNev']+'');
$('#updateWindowSideContent').html(content);
$('#updateWindowSide').addClass('nyitva');
}
+ // IDE
+
}
diff --git a/mayor-orig/www/skin/classic/module-naplo/javascript/orarend/orarend.jquery.min.js b/mayor-orig/www/skin/classic/module-naplo/javascript/orarend/orarend.jquery.min.js
index 0a0875cb..664bacf1 100644
--- a/mayor-orig/www/skin/classic/module-naplo/javascript/orarend/orarend.jquery.min.js
+++ b/mayor-orig/www/skin/classic/module-naplo/javascript/orarend/orarend.jquery.min.js
@@ -7,6 +7,12 @@ $(function() {
var origHtmlStr = $('table.orarend thead th.het').html();
+ $('form span.normalTerem').on('click',function(event) {
+ var el = $(event.target);
+ var tmpid = ($(el).data('tmpid'));
+ $("form select[data-tmpid='"+tmpid+"']").toggle();
+ });
+
$('table.orarend thead tr th').on('click',function() { // tool kezeles mobilon
if ($(this).data('napindex')>0 && isMobile() == true) {
$(this).find('table.orarend span.napLeiras').toggle();
--
cgit v1.2.3