Changeset 1073
- Timestamp:
- 01/14/11 23:57:49 (13 years ago)
- Location:
- MDService2/trunk/MDService2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
MDService2/trunk/MDService2/WebContent/scripts/mdservice_helpers.js
r1072 r1073 19 19 $(this).children('.content').show(); 20 20 } 21 if ($(this). hasClass('cmds-ui-closable')) {21 if ($(this).parent().hasClass('cmds-ui-closable')) { 22 22 $(this).children('.header').append('<span class="cmd cmd_close" > </span>'); 23 23 $(this).find('.cmd_close').click(function(event) { 24 $(this). parents('.cmds-ui-closable').hide();24 $(this).closest('.header').parent().parent('.cmds-ui-closable').remove(); 25 25 }); 26 26 } -
MDService2/trunk/MDService2/src/xsl/terms2view.xsl
r1072 r1073 407 407 <style type="text/css"> 408 408 .cmd_add {display:none} 409 </style> 409 </style> 410 410 411 <script type="text/javascript" > 411 412 $(function(){ … … 413 414 $("a.detail-caller").click(function(event) { 414 415 event.preventDefault(); 415 $(this).after('<div class="ui-context-dialog cmd cmd_get" ></div>');416 $(this).after('<div class="ui-context-dialog cmds-ui-closable cmd cmd_get" ></div>'); 416 417 detail = $(this).parent().children('.ui-context-dialog'); 417 detail.show(); 418 418 419 419 detail.load($(this).attr('href'), function(event) { 420 420 $(this).removeClass('cmd_get cmd'); 421 421 handleUIBlock($(this).children('.cmds-ui-block')); 422 $(this).show(); 422 423 }); 423 424 }); 424 425 }); 425 426 </script> 427 426 428 </xsl:template> 427 429 -
MDService2/trunk/MDService2/src/xsl/values2view.xsl
r1071 r1073 39 39 <xsl:template name="continue-root"> 40 40 41 <div class="cmds-ui-block cmds-ui-closableinit-show">41 <div class="cmds-ui-block init-show"> 42 42 <xsl:call-template name="header" /> 43 <xsl:apply-templates /> 43 <div class="content"> 44 <xsl:apply-templates /> 45 </div> 46 44 47 <!-- 45 48 <xsl:choose>
Note: See TracChangeset
for help on using the changeset viewer.