Skip to content

Commit

Permalink
Setup image_path variable.
Browse files Browse the repository at this point in the history
This variable is referenced in scripts/sortable.js and required for making the tables sortable (it would previously throw a JS exception when trying to make tables in the ‘sortable’ class sortable).

git-svn-id: http://svn.textmate.org/trunk/Support@12029 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information
sorbits committed May 19, 2011
1 parent 63c3144 commit cc05d76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/tm/htmloutput.rb
Expand Up @@ -32,6 +32,7 @@
<%- end -%>
<script src="file://<%= e_url support_path %>/script/default.js" type="text/javascript" charset="utf-8"></script>
<script src="file://<%= e_url support_path %>/script/webpreview.js" type="text/javascript" charset="utf-8"></script>
<script>var image_path = "file://<%= e_url support_path %>/images/";</script>
<script src="file://<%= e_url support_path %>/script/sortable.js" type="text/javascript" charset="utf-8"></script>
<%= html_head -%>
</head>
Expand Down

0 comments on commit cc05d76

Please sign in to comment.