[#67,app][s]: first pass at sharable link support in app (though seems rather buggy).

This commit is contained in:
Rufus Pollock
2012-04-16 15:17:19 +01:00
parent a42840cdf3
commit 0f0fa633a1
3 changed files with 57 additions and 19 deletions

View File

@@ -682,6 +682,9 @@ my.composeQueryString = function(queryParams) {
var queryString = '?';
var items = [];
$.each(queryParams, function(key, value) {
if (typeof(value) === 'object') {
value = JSON.stringify(value);
}
items.push(key + '=' + value);
});
queryString += items.join('&');