Fix creation of new pads in /pad

pull/1/head
yflory 8 years ago
parent 20518a3e88
commit e38df7ce47

@ -426,6 +426,7 @@ define([
var updateMetadata = function(shjson) { var updateMetadata = function(shjson) {
// Extract the user list (metadata) from the hyperjson // Extract the user list (metadata) from the hyperjson
if (!shjson || typeof (shjson) !== "string") { updateTitle(defaultName); return; }
var hjson = JSON.parse(shjson); var hjson = JSON.parse(shjson);
var peerMetadata = hjson[3]; var peerMetadata = hjson[3];
var titleUpdated = false; var titleUpdated = false;

Loading…
Cancel
Save