[ Index ] |
PHP Cross Reference of Phabricator |
[Summary view] [Print] [Text view]
1 /** 2 * @provides javelin-behavior-maniphest-transaction-expand 3 * @requires javelin-behavior 4 * javelin-dom 5 * javelin-workflow 6 * javelin-stratcom 7 */ 8 9 /** 10 * When the user clicks "show details" in a Maniphest transaction, replace the 11 * summary rendering with a detailed rendering. 12 */ 13 JX.behavior('maniphest-transaction-expand', function() { 14 15 JX.Stratcom.listen( 16 'click', 17 'maniphest-expand-transaction', 18 function(e) { 19 e.kill(); 20 JX.Workflow.newFromLink(e.getTarget(), {}) 21 .setHandler(function(r) { 22 JX.DOM.setContent( 23 e.getNode('maniphest-transaction-description'), 24 JX.$H(r)); 25 }) 26 .start(); 27 }); 28 29 });
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Sun Nov 30 09:20:46 2014 | Cross-referenced by PHPXref 0.7.1 |