Commit 7dc6037b authored by xaver's avatar xaver
Browse files

empty value better see, ^Cigger is mouseover body (still better after ajax...

empty value better see, ^Cigger is mouseover body (still better after ajax request), css fixes (chromium,FF,Opera,rekonq,IE), 1 sprite image in gray for icons
parent 0c14c699
......@@ -78,19 +78,17 @@
}
});
// jQuery(document).ready( function(){
//
// });
(function( $ ) {
$.widget( "ui.combobox", {
_create: function() {
var self = this,
oldWidth = this.element.width(),
select = this.element.hide(),
selected = select.children( ":selected" ),
value = selected.val() ? selected.text() : "";
var input = this.input = $( "<input>" )
.insertAfter( select )
.width( oldWidth )
.val( value )
.autocomplete({
delay: 0,
......@@ -99,7 +97,7 @@
var matcher = new RegExp( $.ui.autocomplete.escapeRegex(request.term), "i" );
response( select.children( "option" ).map(function() {
var text = $( this ).text();
if ( this.value && ( !request.term || matcher.test(text) ) )
//if ( this.value && ( !request.term || matcher.test(text) ) )
return {
label: text.replace(
new RegExp(
......@@ -183,10 +181,11 @@
}
});
})( jQuery );
jQuery("#pageContent").live("mouseover", function(){
if(jQuery(".panel select").css("display") != "none"){
jQuery(".panel select").combobox();
jQuery("body").live("mouseover", function(){
if(jQuery(".panel .list td select").css("display") != "none"){
jQuery(".panel .list td select").combobox();
}
});
</script>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment