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

« back to all changes in this revision

Viewing changes to www/media/common/util.js

  • Committer: drtomc
  • Date: 2008-02-13 01:22:48 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:442
util.js: Small fix for make_query_string.

console: get the uid from the session object, rather than looking in /etc/passwd.

Show diffs side-by-side

added added

removed removed

Lines of Context:
319
319
    else if (("args" in obj) && obj.args != null)
320
320
        query_string = make_query_string(obj.args);
321
321
 
322
 
    if (query_string != "")
 
322
    if (query_string != "" && query_string != null)
323
323
        url += "?" + query_string;
324
324
 
325
325
    return url;