Changeset View
Changeset View
Standalone View
Standalone View
webroot/rsrc/js/core/behavior-object-selector.js
Show First 20 Lines • Show All 126 Lines • ▼ Show 20 Lines | function renderHandle(h, attach) { | ||||
var view_object_link = JX.$N( | var view_object_link = JX.$N( | ||||
'a', | 'a', | ||||
{href: h.uri, target: '_blank'}, | {href: h.uri, target: '_blank'}, | ||||
some_icon); | some_icon); | ||||
var select_object_link = JX.$N( | var select_object_link = JX.$N( | ||||
'a', | 'a', | ||||
{href: h.uri, sigil: 'object-attacher'}, | {href: '#', sigil: 'object-attacher'}, | ||||
h.name); | h.name); | ||||
var select_object_button = JX.$N( | var select_object_button = JX.$N( | ||||
'a', | 'a', | ||||
{href: '#', | {href: '#', | ||||
sigil: 'object-attacher', | sigil: 'object-attacher', | ||||
className: 'button small button-grey'}, | className: 'button small button-grey'}, | ||||
attach ? 'Select' : 'Remove'); | attach ? 'Select' : 'Remove'); | ||||
▲ Show 20 Lines • Show All 121 Lines • Show Last 20 Lines |