Skip to content

Commit

Permalink
Fixes wardi#50 with old style urls
Browse files Browse the repository at this point in the history
  • Loading branch information
Alberto Morales committed Nov 18, 2013
1 parent 373c5ea commit 5385036
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filebrowser/templates/filebrowser/custom_field.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% load fb_versions %}
<input id="{{ final_attrs.id }}" type="text" class="vFileBrowseField" name="{{ final_attrs.name }}" value="{{ value }}" /><a href="#" onClick="FileBrowser.show(this.previousSibling.id, '{% url 'fb_browse' %}?pop=1{% if final_attrs.directory %}&amp;dir={{ final_attrs.directory }}{% endif %}{% if final_attrs.format %}&amp;type={{ final_attrs.format }}{% endif %}');" class="fb_show">
<input id="{{ final_attrs.id }}" type="text" class="vFileBrowseField" name="{{ final_attrs.name }}" value="{{ value }}" /><a href="#" onClick="FileBrowser.show(this.previousSibling.id, '{% url fb_browse %}?pop=1{% if final_attrs.directory %}&amp;dir={{ final_attrs.directory }}{% endif %}{% if final_attrs.format %}&amp;type={{ final_attrs.format }}{% endif %}');" class="fb_show">
<img src="{{ final_attrs.search_icon }}" alt="" />
</a>
{% ifequal value.filetype "Image" %}
Expand Down

0 comments on commit 5385036

Please sign in to comment.