Changeset 5766


Ignore:
Timestamp:
Sep 28, 2011, 8:46:08 AM (10 years ago)
Author:
Nicklas Nordborg
Message:

Fixes #1627: The "test with file" function has annoying double scrollbars in "File data tab"

Location:
trunk/www/common/plugin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/common/plugin/parse_file.jsp

    r5426 r5766  
    248248    </script>
    249249  </base:head>
    250   <base:body onload="window.parent.adjustIFrameSize()">
     250  <base:body onload="window.parent.adjustIFrameSize()" style="padding-left: 0px;">
    251251  <t:tabcontrol id="parsedFile"
    252252    contentstyle="<%="height: "+(int)(scale*400)+"px;"%>" autoheight="false">
     
    285285      }
    286286      %>
    287       <table class="itemlist" border="0" cellspacing="0" cellpadding="0">
     287      <table class="itemlist" border="0" cellspacing="0" cellpadding="0" style="padding-right: 1px;">
    288288      <tr>
    289289        <td class="data">
  • trunk/www/common/plugin/test_with_file.jsp

    r5570 r5766  
    7777     
    7878      var iframe = window.frames['parsed'];
     79      var width = Main.getWindowWidth(iframe);
    7980      var parsedFile = iframe.document.getElementById('parsedFile.content');
    8081      if (parsedFile)
    8182      {
    82         var width = Main.getWindowWidth(iframe);
    8383        parsedFile.style.height = (height-40)+'px';
    84         if (Browser.isIE) parsedFile.style.width = (width-30)+'px';
     84        parsedFile.style.width = (width-20)+'px';
    8585      }
    8686      inCall = false;
     
    431431      <iframe name="parsed" id="idParsed" src="parse_file.jsp?ID=<%=ID%>" width="100%"
    432432        frameborder="0" vspace="0" hspace="0"
    433         marginwidth="0" marginheight="0" scrolling="no" style="overflow: visible;"></iframe>
     433        marginwidth="0" marginheight="0" scrolling="no" style="overflow: hidden;;"></iframe>
    434434     
    435435     
Note: See TracChangeset for help on using the changeset viewer.