Fix creation of new pads in /pad

This commit is contained in:
yflory 2017-02-27 17:47:11 +01:00
parent 20518a3e88
commit e38df7ce47

View File

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