New pad creation screen

This commit is contained in:
yflory
2018-03-13 11:31:08 +01:00
parent 7c99397e60
commit c9ed6d6bf8
14 changed files with 542 additions and 276 deletions

View File

@@ -638,9 +638,10 @@ define([
var $icon = UI.getIcon();
if (!data) { return $icon; }
var href = data.href;
if (!href) { return $icon; }
var type = data.type;
if (!href && !type) { return $icon; }
var type = Hash.parsePadUrl(href).type;
if (!type) { type = Hash.parsePadUrl(href).type; }
$icon = UI.getIcon(type);
return $icon;