Fix empty properties for readonly pads
This commit is contained in:
parent
2eef1e96e6
commit
5f50bedce2
@ -141,7 +141,7 @@ define([
|
||||
};
|
||||
var getPadProperties = function (common, data, cb) {
|
||||
var $d = $('<div>');
|
||||
if (!data || !data.href) { return void cb(void 0, $d); }
|
||||
if (!data || (!data.href && !data.roHref)) { return void cb(void 0, $d); }
|
||||
|
||||
if (data.href) {
|
||||
$('<label>', {'for': 'cp-app-prop-link'}).text(Messages.editShare).appendTo($d);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user