Skip to content

Commit

Permalink
MDL-16784 Added a hack for ie6, which causes a little glitch in ie5.5…
Browse files Browse the repository at this point in the history
…, but nothing major
  • Loading branch information
nicolasconnault committed Oct 23, 2008
1 parent 8c901fb commit 865607b
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions repository/javascript.php
Expand Up @@ -89,6 +89,11 @@ function repository_get_client($context) {
.fp-grid p{margin:0;padding:0;background: #FFFFCC}
.fp-grid .label{height:48px;text-align:center}
.fp-grid span{background: #EEF9EB;color:gray}
/* Fix for IE6 */
* html .yui-skin-sam .yui-panel .hd{
margin-right: -10px;
width: 660px;
}
</style>
EOD;

Expand Down Expand Up @@ -709,7 +714,7 @@ function _client() {
if(_client.ds.pages) {
str += '<div class="fp-paging" id="paging-$suffix">';
for(var i = 1; i <= _client.ds.pages; i++) {
if(!_client.ds.search_result){
if(!_client.ds.search_result){
str += '<a onclick="repository_client_$suffix.req('+_client.repositoryid+', '+i+', 0)" href="###">';
} else {
str += '<a onclick="repository_client_$suffix.search_paging('+_client.repositoryid+', '+i+')" href="###">';
Expand Down Expand Up @@ -866,17 +871,17 @@ function _client() {
width : "30em",
fixedcenter : true,
zindex: 766667,
visible : false,
visible : false,
constraintoviewport : true,
buttons : [
buttons : [
{ text:"Submit",handler: function() {
_client.viewbar.set('disabled', false); _client.loading('load');
YAHOO.util.Connect.setForm('fp-search-form', false, false);
this.cancel();
var trans = YAHOO.util.Connect.asyncRequest('POST',
'$CFG->httpswwwroot/repository/ws.php?action=search&env='+_client.env, _client.req_cb);
},isDefault:true
},
},isDefault:true
},
{text:"Cancel",handler:function() {this.cancel()}}
]
});
Expand Down

0 comments on commit 865607b

Please sign in to comment.