<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Bottom toolbar isn't displayed on mobile"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=127094#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Bottom toolbar isn't displayed on mobile"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=127094">bug 127094</a>
from <span class="vcard"><a class="email" href="mailto:tuananh.hedspi@gmail.com" title="OrangeDev <tuananh.hedspi@gmail.com>"> <span class="fn">OrangeDev</span></a>
</span></b>
<pre>In my debug in old version of bundle.js, createToolbar() method has the
following code:
if (_inMobileMode()) {
$("#mobile-edit-button").show();
initMobileToolbar(toolItems)
} else {
$("#toolbar-down").show();
initNormalToolbar(toolItems)
}
But in the latest image, It become the followng code
function createToolbar() {
if (_inMobileMode()) {
$("#mobile-edit-button").show()
} else {
$("#toolbar-down").show();
initNormalToolbar()
}
}
The initMobileToolbar() method have been removed.
So, if i add "$("#toolbar-down").show();" code into click event of
#mobile-edit-button.
if (L.Browser.mobile) {
var button = $("#mobile-edit-button");
button.show();
button.off("click");
var that = this;
button.on("click", function() {
button.hide();
that._enterEditMode("edit");
that.fire("editorgotfocus");
if (!(window.ThisIsTheiOSApp ||
window.ThisIsTheAndroidApp)) that.focus();
$("#toolbar-down").show();
});
this._enterReadOnlyMode("readonly")
}
#toolbar-down will be displayed as attached file in the previous comment.
This is a non-related question, save icon in the toolbar-down was removed?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>