Skip to content

Commit

Permalink
Merge branch 'release/1.1.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
Henjuro committed Nov 13, 2017
2 parents cd47894 + 49105ab commit 91788a6
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#Changelog
* 1.1.3
* Fixes
* Fixed error in handling sse requests
* Fixed error when generating ESI requests
* 1.1.2
* Fixes
* Fixed broken html that made the page not work correctly in some browser
Expand Down
4 changes: 4 additions & 0 deletions static/js/sse-dom.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ if (!waitlist) {
}

waitlist.sse_dom = (function () {
let getMetaData = waitlist.base.getMetaData;
let loadWaitlist = waitlist.listdom.loadWaitlist;
let addFitToDom = waitlist.listdom.addFitToDom;
let addNewEntry = waitlist.listdom.addNewEntry;
Expand All @@ -15,6 +16,8 @@ waitlist.sse_dom = (function () {
let clearWaitlists = waitlist.listdom.clearWaitlists;
let sse = waitlist.sse;

let settings = {};

function fitAddedListener(event) {
let data = JSON.parse(event.data);
addFitToDom(data.listId, data.entryId, data.fit, data.isQueue, data.userId);
Expand Down Expand Up @@ -93,6 +96,7 @@ waitlist.sse_dom = (function () {

function init() {
loadWaitlist();
settings.can_manage = getMetaData('can-fleetcomp') === "True";
}

$(document).ready(init);
Expand Down
2 changes: 1 addition & 1 deletion waitlist/data/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version = "1.1.2-$Format:%h$"
version = "1.1.3-$Format:%h$"
2 changes: 1 addition & 1 deletion waitlist/utility/swagger/patch.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def request(self, req_and_resp, raw_body_only=None, opt=None):
prepared_request = self._session.prepare_request(
Request(
method=request.method.upper(),
url=request,
url=request.url,
params=request.query,
data=request.data,
headers=request.header
Expand Down

0 comments on commit 91788a6

Please sign in to comment.