Revert Changes

This commit is contained in:
Simon Hanna 2016-01-10 17:00:05 +01:00
parent faff2b7da4
commit e172e2aeb2
2 changed files with 2 additions and 2 deletions

View File

@ -224,7 +224,7 @@ class ScreenList(object):
y = window.y() + (window.height() // 2) y = window.y() + (window.height() // 2)
for screen in self.screen_list: for screen in self.screen_list:
size = screen['size'] size = screen['size']
if size.x() <= x <= (size.x() + size.width()) and size.y() <= y <= (size.y() + size.height()): if x >= size.x() and x <= (size.x() + size.width()) and y >= size.y() and y <= (size.y() + size.height()):
return screen['number'] return screen['number']
def load_screen_settings(self): def load_screen_settings(self):

View File

@ -167,7 +167,7 @@
<h1>${options}</h1> <h1>${options}</h1>
</div> </div>
<div data-role="content"> <div data-role="content">
<input id="selected-item" value="" /> <input type="hidden" id="selected-item" value="" />
<a href="#" id="go-live" data-role="button">${go_live}</a> <a href="#" id="go-live" data-role="button">${go_live}</a>
<a href="#" id="add-to-service" data-role="button">${add_to_service}</a> <a href="#" id="add-to-service" data-role="button">${add_to_service}</a>
<a href="#" id="add-and-go-to-service" data-role="button">${add_and_go_to_service}</a> <a href="#" id="add-and-go-to-service" data-role="button">${add_and_go_to_service}</a>