summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--loleaflet/src/control/Permission.js3
-rw-r--r--loleaflet/src/map/Map.js3
2 files changed, 6 insertions, 0 deletions
diff --git a/loleaflet/src/control/Permission.js b/loleaflet/src/control/Permission.js
index 6d4868919..4bef3b8dd 100644
--- a/loleaflet/src/control/Permission.js
+++ b/loleaflet/src/control/Permission.js
@@ -100,6 +100,9 @@ L.Map.include({
this.setZoom(10);
}
+ if (window.ThisIsTheiOSApp && window.mode.isTablet() && this._docLayer._docType === 'spreadsheet')
+ this.showCalcInputBar(0);
+
if (window.ThisIsTheAndroidApp)
window.postMobileMessage('EDITMODE on');
},
diff --git a/loleaflet/src/map/Map.js b/loleaflet/src/map/Map.js
index 70f22c605..db096ab22 100644
--- a/loleaflet/src/map/Map.js
+++ b/loleaflet/src/map/Map.js
@@ -1277,7 +1277,10 @@ L.Map = L.Evented.extend({
}
}
}
+ this.showCalcInputBar(deckOffset);
+ },
+ showCalcInputBar: function(deckOffset) {
if (this.dialog._calcInputBar && !this.dialog._calcInputBar.isPainting) {
var id = this.dialog._calcInputBar.id;
var calcInputbar = L.DomUtil.get('calc-inputbar');