Skip to content

Commit

Permalink
Mobile fix for editing plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
uprel committed Apr 30, 2018
1 parent ea4c0f5 commit 978c22e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client_mobile/src/gui.js
Expand Up @@ -710,7 +710,7 @@ Gui.showXMLFeatureInfoResults = function (results) {
//html += "<input type='button' data-theme='b' data-inline='true' id='edit' data-mini='true' value='Edit'>";
//TODO icon edit
html += '<a href="javascript:Eqwc.common.callEditor(\''+layer.id+'\','+feature.id+', \'edit\');" data-theme="b" data-inline="true" data-mini="true" data-role="button">Edit</a>';
html += '<a href="javascript:Eqwc.common.callEditor(\''+layer.id+'\','+feature.id+', \'goto\');" data-theme="a" data-inline="true" data-mini="true" data-role="button">GOTO</a>';
html += '<a href="javascript:Eqwc.common.callEditor(\''+layer.id+'\','+feature.id+', \'goto\');" data-theme="c" data-inline="true" data-mini="true" data-role="button">GOTO</a>';
}

html += '<ul class="ui-listview-inset ui-corner-all" data-role="listview">';
Expand Down
2 changes: 1 addition & 1 deletion client_mobile/src/map.js
Expand Up @@ -626,7 +626,7 @@ Map.toggleTracking = function (enabled) {

if (typeof(Editor)=='function') {
$('#btnAdd').show();
if (mobAttEditor) {
if (mobAttEditor && mobEditingFeature) {
mobAttEditor.updateGotoContent();
}
}
Expand Down

0 comments on commit 978c22e

Please sign in to comment.