Update libs and fix ugc URL
This commit is contained in:
9
script/jquery-ui.js
vendored
9
script/jquery-ui.js
vendored
File diff suppressed because one or more lines are too long
10
script/jquery.js
vendored
10
script/jquery.js
vendored
File diff suppressed because one or more lines are too long
@@ -1,7 +1,7 @@
|
||||
function Film(oSettings)
|
||||
{
|
||||
var self = this;
|
||||
this.consts = {'ugc_url':'https://ugc.fr/', 'process_url':'index.php'};
|
||||
this.consts = {'ugc_url':'https://www.ugc.fr/', 'process_url':'index.php'};
|
||||
this.settings = oSettings;
|
||||
this._attr = {};
|
||||
this._anchor = {};
|
||||
@@ -238,7 +238,7 @@ function Ugc()
|
||||
//Load cinemas
|
||||
$.each(this.settings.cinemas(), function(iCinemaId, sCinemaName){
|
||||
getUgcPage( 'showingsCinemaAjaxAction!getShowingsForCinemaPage.action',
|
||||
{cinemaId:iCinemaId, date:self.settings.date('french'), page:'10007', sort:'all'},
|
||||
{cinemaId:iCinemaId, date:self.settings.date('french'), page:'10007', sort:'ugc', searchFilmKey:''},
|
||||
function(hDom){self.addCinema(iCinemaId, hDom)},
|
||||
function(){},
|
||||
'html');
|
||||
@@ -498,7 +498,7 @@ function Settings()
|
||||
|
||||
//UGC cinemas
|
||||
getUgcPage( 'resaExpressAction!getCinemaList.action',
|
||||
{'regionsAndCinemasBean.region':'', 'regionsAndCinemasBean.cinema':'', '_':this.date('timestamp')},
|
||||
{region:'', cinema:'', film:'', date:'', seance:'', '_':this.date('timestamp')},
|
||||
function(jData){
|
||||
self.ugcCinemas(jData.cinemas);
|
||||
self.addUgcCinemasToDom();
|
||||
|
||||
Reference in New Issue
Block a user