Differential D19410 Diff 46427 webroot/rsrc/js/application/harbormaster/behavior-harbormaster-log.js
Changeset View
Changeset View
Standalone View
Standalone View
webroot/rsrc/js/application/harbormaster/behavior-harbormaster-log.js
| Show All 10 Lines | JX.behavior('harbormaster-log', function(config) { | ||||
| JX.DOM.listen(contentNode, 'click', 'harbormaster-log-expand', function(e) { | JX.DOM.listen(contentNode, 'click', 'harbormaster-log-expand', function(e) { | ||||
| if (!e.isNormalClick()) { | if (!e.isNormalClick()) { | ||||
| return; | return; | ||||
| } | } | ||||
| e.kill(); | e.kill(); | ||||
| expand(e.getTarget(), true); | expand(e.getNode('harbormaster-log-expand'), true); | ||||
| }); | }); | ||||
| function expand(node, is_action) { | function expand(node, is_action) { | ||||
| var row = JX.DOM.findAbove(node, 'tr'); | var row = JX.DOM.findAbove(node, 'tr'); | ||||
| row = JX.DOM.findAbove(row, 'tr'); | row = JX.DOM.findAbove(row, 'tr'); | ||||
| var data = JX.Stratcom.getData(node); | var data = JX.Stratcom.getData(node); | ||||
| ▲ Show 20 Lines • Show All 87 Lines • Show Last 20 Lines | |||||