diff options
author | M.Gergo | 2020-03-18 03:21:19 +0100 |
---|---|---|
committer | M.Gergo | 2020-03-18 03:21:19 +0100 |
commit | 25b091e6e06862ee7f7631471c47f9cd94a2019f (patch) | |
tree | 4466d5a0dae86fcef7e7003743c5b883b0ead4ce /mayor-orig/mayor-naplo/www/skin/classic | |
parent | 6345ea101955e59386b6b0be0309bd4e84cd98f9 (diff) | |
download | mayor-rev4622.tar.gz mayor-rev4622.zip |
Rev: 4622rev4622
Diffstat (limited to 'mayor-orig/mayor-naplo/www/skin/classic')
-rw-r--r-- | mayor-orig/mayor-naplo/www/skin/classic/module-naplo/javascript/naplo.jquery.min.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/javascript/naplo.jquery.min.js b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/javascript/naplo.jquery.min.js index 251155a1..2337a13e 100644 --- a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/javascript/naplo.jquery.min.js +++ b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/javascript/naplo.jquery.min.js @@ -385,11 +385,15 @@ ajaxGetZaroJegyAdat = function(zaroJegyId) { ajaxGetOraAdat = function(oraId) { + var policy = $('body').data('policy'); + if (policy=='parent') { // workaround a szuloknek + window.location.replace("index.php?page=naplo&sub=haladasi&f=hazifeladat&policy="+policy+"&sessionID="+$('body').data('sessionid')+"&oraId="+oraId); + } mayorLoaderStart(); postData = { 'oraId':oraId, 'mayorToken': ($('body').data('mayortoken')) } $.ajax({ type: "POST", - url: "index.php?page=naplo&sub=tools&f=getOraAdat&policy=private&skin=ajax&sessionID="+$('body').data('sessionid'), + url: "index.php?page=naplo&sub=tools&f=getOraAdat&policy="+policy+"&skin=ajax&sessionID="+$('body').data('sessionid'), data: postData, dataType: 'json' }).done(function( msg, status, jqXHR ) { |