Changeset 1073


Ignore:
Timestamp:
01/14/11 23:57:49 (13 years ago)
Author:
gaba
Message:

MDRepo.scan values - corrections

Location:
MDService2/trunk/MDService2
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • MDService2/trunk/MDService2/WebContent/scripts/mdservice_helpers.js

    r1072 r1073  
    1919                        $(this).children('.content').show();
    2020                }
    21                 if ($(this).hasClass('cmds-ui-closable'))  {           
     21                if ($(this).parent().hasClass('cmds-ui-closable'))  {           
    2222                        $(this).children('.header').append('<span class="cmd cmd_close" > </span>');
    2323                        $(this).find('.cmd_close').click(function(event) {
    24                                         $(this).parents('.cmds-ui-closable').hide();   
     24                                        $(this).closest('.header').parent().parent('.cmds-ui-closable').remove();       
    2525                                });
    2626                }
  • MDService2/trunk/MDService2/src/xsl/terms2view.xsl

    r1072 r1073  
    407407        <style type="text/css">
    408408                .cmd_add {display:none}
    409         </style>
     409        </style>
     410       
    410411        <script type="text/javascript" >
    411412                $(function(){
     
    413414                        $("a.detail-caller").click(function(event) {
    414415                                        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>');                                   
    416417                                        detail = $(this).parent().children('.ui-context-dialog');                               
    417                                         detail.show();
    418                                                                                
     418                                                                       
    419419                                        detail.load($(this).attr('href'), function(event) {
    420420                                                                $(this).removeClass('cmd_get cmd');
    421421                                                                handleUIBlock($(this).children('.cmds-ui-block'));
     422                                                                $(this).show();
    422423                                                                });
    423424                                });             
    424425                });
    425426        </script>
     427
    426428</xsl:template>
    427429
  • MDService2/trunk/MDService2/src/xsl/values2view.xsl

    r1071 r1073  
    3939<xsl:template name="continue-root">
    4040
    41         <div class="cmds-ui-block cmds-ui-closable init-show"> 
     41        <div class="cmds-ui-block init-show"> 
    4242        <xsl:call-template name="header" />
    43         <xsl:apply-templates />
     43        <div class="content">
     44                <xsl:apply-templates />
     45        </div>
     46
    4447                <!--
    4548                <xsl:choose>           
Note: See TracChangeset for help on using the changeset viewer.