ios fixes
This commit is contained in:
@@ -5,6 +5,9 @@ App.SettingsController = Ember.Controller.extend
|
|||||||
if text = $('#debug-eval-string')
|
if text = $('#debug-eval-string')
|
||||||
result = eval(text)
|
result = eval(text)
|
||||||
#result = JSON.stringify(result)
|
#result = JSON.stringify(result)
|
||||||
result = result.toString()
|
if result
|
||||||
|
result = result.toString()
|
||||||
|
else
|
||||||
|
result = 'null'
|
||||||
$('.debug-info').append result
|
$('.debug-info').append result
|
||||||
$('.debug-info').append "\n"
|
$('.debug-info').append "\n"
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
.display-row
|
.display-row
|
||||||
.display-label
|
.display-label
|
||||||
.display-field: a.button href="./index.html"=t 'settings.reload_application'
|
.display-field: a.button href="./index.html"=t 'settings.reload_application'
|
||||||
.row
|
/.row
|
||||||
.small-8.columns: input#debug-eval-string
|
.small-8.columns: input#debug-eval-string
|
||||||
.small-4.columns: button{action "evalDebugString"} Debug
|
.small-4.columns: button{action "evalDebugString"} Debug
|
||||||
.row: .small-12.columns: pre.panel.debug-info
|
/.row: .small-12.columns: pre.panel.debug-info
|
||||||
|
|||||||
@@ -18,4 +18,6 @@ App.ApplicationView = Ember.View.extend
|
|||||||
#ios7 detection
|
#ios7 detection
|
||||||
if window.device and window.device.platform and window.device.platform.toLowerCase() is "ios" and parseFloat(window.device.version) >= 7.0
|
if window.device and window.device.platform and window.device.platform.toLowerCase() is "ios" and parseFloat(window.device.version) >= 7.0
|
||||||
controller.set 'ios7', true
|
controller.set 'ios7', true
|
||||||
$('body').addClass 'ios7'
|
body = $('body')
|
||||||
|
body.addClass 'ios7'
|
||||||
|
body.append $('<div></div>').addClass("ios7-menu-panel")
|
||||||
|
|||||||
@@ -8,3 +8,9 @@ body.ios7
|
|||||||
padding-top: $ios-menu-height
|
padding-top: $ios-menu-height
|
||||||
.main-section
|
.main-section
|
||||||
top: $top-menu-height + $ios-menu-height
|
top: $top-menu-height + $ios-menu-height
|
||||||
|
.ios7-menu-panel
|
||||||
|
position: absolute
|
||||||
|
top: 0
|
||||||
|
width: 100%
|
||||||
|
height: $ios-menu-height
|
||||||
|
background-color: white
|
||||||
|
|||||||
+1
-1
@@ -1 +1 @@
|
|||||||
0.9.23
|
0.9.24
|
||||||
|
|||||||
Reference in New Issue
Block a user