diff options
Diffstat (limited to 'rel')
-rw-r--r-- | rel/overlay/share/www/script/futon.browse.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rel/overlay/share/www/script/futon.browse.js b/rel/overlay/share/www/script/futon.browse.js index faacc64e..5c10773a 100644 --- a/rel/overlay/share/www/script/futon.browse.js +++ b/rel/overlay/share/www/script/futon.browse.js @@ -61,7 +61,7 @@ $("#databases tbody.content tr:eq(" + idx + ")") .find("td.size").text($.futon.formatSize(info.disk_size)).end() .find("td.count").text(info.doc_count).end() - .find("td.seq").text(info.update_seq.split("-")[0]); + .find("td.seq").text(String(info.update_seq).split(",")[0]); }, error : function() {} }); @@ -99,7 +99,7 @@ var urlParts = location.search.substr(1).split("/"); var dbName = decodeURIComponent(urlParts.shift()) - var dbNameRegExp = new RegExp("[^a-z0-9\_\$\(\)\+\/\-]", "g"); + var dbNameRegExp = new RegExp("[^a-z0-9.\_\$\(\)\+\/\-]", "g"); dbName = dbName.replace(dbNameRegExp, ""); $.futon.storage.declareWithPrefix(dbName + ".", { |