Skip to content

Commit

Permalink
update variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
atarkowska committed Aug 31, 2016
1 parent b62b60b commit 445ff47
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mapr/static/mapr/javascript/ome.mapr.ui.autocomplete.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ $(function () {
jstreeInst.deselect_all();
jstreeInst.close_all();
OME.clearThumbnailsPanel();
WEBCLIENT.URLS.api_experimenters = MAPANNOTATIONS.URLS.autocomplete_default
WEBCLIENT.URLS.api_experimenter = MAPANNOTATIONS.URLS.autocomplete_default
jstreeInst.settings.core.data = function(node, callback, payload) {
oldData.apply(jstreeInst, [node, callback, {'value': ui.item.value}]);
};
Expand Down
4 changes: 2 additions & 2 deletions mapr/templates/mapr/base_mapr.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@
<script type="text/javascript">

{% if map_value %}
WEBCLIENT.URLS.api_experimenters = "{% url 'mapannotations_api_experimenters' menu map_value %}";
WEBCLIENT.URLS.api_experimenter = "{% url 'mapannotations_api_experimenters' menu map_value %}";
{% else %}
WEBCLIENT.URLS.api_experimenters = "{% url 'mapannotations_api_experimenters' menu %}";
WEBCLIENT.URLS.api_experimenter = "{% url 'mapannotations_api_experimenters' menu %}";
{% endif %}

WEBCLIENT.URLS.tree_top_level = "{% url 'mapannotations_api_mapannotations' menu %}";
Expand Down

0 comments on commit 445ff47

Please sign in to comment.