~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to www/media/browser/browser.js

  • Committer: mattgiuca
  • Date: 2008-01-13 23:46:20 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:214
util.js: Added 'repr' function.
browser, listing.js: Use repr to generate correct strings to pass to functions
inline.

Show diffs side-by-side

added added

removed removed

Lines of Context:
345
345
        href_path = path_join(href_path, dir);
346
346
        nav_path = path_join(nav_path, dir);
347
347
        var link = dom_make_link_elem("a", dir, "Navigate to " + nav_path,
348
 
                href_path, "navigate(" + href_path + ")");
 
348
                href_path, "navigate(" + repr(href_path) + ")");
349
349
        dom_path.appendChild(link);
350
350
        dom_path.appendChild(document.createTextNode("/"));
351
351
    }