mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 08:53:37 +01:00
* All apps: Fix filter-categories does not work in iOS
This commit is contained in:
parent
5788d04073
commit
79c8adb873
@ -564,6 +564,14 @@
|
|||||||
this.container.mouseleave(function(evt) {
|
this.container.mouseleave(function(evt) {
|
||||||
_this.mouse_leave(evt);
|
_this.mouse_leave(evt);
|
||||||
});
|
});
|
||||||
|
this.container.bind('touchstart', function(evt) {
|
||||||
|
_this.container_mousedown(evt);
|
||||||
|
return evt.preventDefault();
|
||||||
|
});
|
||||||
|
this.container.bind('touchend', function(evt) {
|
||||||
|
_this.mouse_leave(evt);
|
||||||
|
return evt.preventDefault();
|
||||||
|
});
|
||||||
this.search_results.mouseup(function(evt) {
|
this.search_results.mouseup(function(evt) {
|
||||||
_this.search_results_mouseup(evt);
|
_this.search_results_mouseup(evt);
|
||||||
});
|
});
|
||||||
@ -573,6 +581,12 @@
|
|||||||
this.search_results.mouseout(function(evt) {
|
this.search_results.mouseout(function(evt) {
|
||||||
_this.search_results_mouseout(evt);
|
_this.search_results_mouseout(evt);
|
||||||
});
|
});
|
||||||
|
this.search_results.bind('touchstart', function(evt) {
|
||||||
|
_this.search_results_mouseover(evt);
|
||||||
|
});
|
||||||
|
this.search_results.bind('touchend', function(evt) {
|
||||||
|
_this.search_results_mouseup(evt);
|
||||||
|
});
|
||||||
this.search_results.bind('mousewheel DOMMouseScroll', function(evt) {
|
this.search_results.bind('mousewheel DOMMouseScroll', function(evt) {
|
||||||
_this.search_results_mousewheel(evt);
|
_this.search_results_mousewheel(evt);
|
||||||
});
|
});
|
||||||
@ -607,13 +621,13 @@
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
Chosen.prototype.unregister_observers = function() {
|
Chosen.prototype.unregister_observers = function() {
|
||||||
return this.form_field_jq.unbind();
|
return this.form_field_jq.unbind();
|
||||||
};
|
};
|
||||||
|
|
||||||
Chosen.prototype.remove_html = function() {
|
Chosen.prototype.remove_html = function() {
|
||||||
this.form_field_jq.show().removeClass('chzn-done');
|
this.form_field_jq.show().removeClass('chzn-done');
|
||||||
return this.container.remove();
|
return this.container.remove();
|
||||||
};
|
};
|
||||||
|
|
||||||
Chosen.prototype.unregister_observers = function() {
|
Chosen.prototype.unregister_observers = function() {
|
||||||
@ -803,11 +817,11 @@
|
|||||||
return this.results_showing = false;
|
return this.results_showing = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
Chosen.prototype.reset_tab_index = function() {
|
Chosen.prototype.reset_tab_index = function() {
|
||||||
var tabbed_item;
|
var tabbed_item;
|
||||||
tabbed_item = this.is_multiple ? this.search_field : this.selected_item;
|
tabbed_item = this.is_multiple ? this.search_field : this.selected_item;
|
||||||
this.form_field_jq.attr("tabindex",tabbed_item.attr("tabindex"));
|
this.form_field_jq.attr("tabindex",tabbed_item.attr("tabindex"));
|
||||||
return tabbed_item.attr("tabindex") - 1;
|
return tabbed_item.attr("tabindex") - 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
Chosen.prototype.set_tab_index = function(el) {
|
Chosen.prototype.set_tab_index = function(el) {
|
||||||
|
Loading…
Reference in New Issue
Block a user