Remove Add ... item from quick add box

This commit is contained in:
Hadi Nategh 2019-03-26 12:02:11 +01:00
parent e419b792e3
commit e6c2b4884e
6 changed files with 16 additions and 1 deletions

View File

@ -5129,6 +5129,9 @@ td.message span.message {
border-bottom: 12px solid #ffffff;
margin-bottom: 11px;
}
#egw_fw_topmenu_info_items #topmenu_info_quick_add .chzn-container .chzn-single span {
display: none;
}
#egw_fw_topmenu_info_items #topmenu_info_quick_add select#quick_add_selectbox {
visibility: hidden;
}

View File

@ -5118,6 +5118,9 @@ td.message span.message {
border-bottom: 12px solid #ffffff;
margin-bottom: 11px;
}
#egw_fw_topmenu_info_items #topmenu_info_quick_add .chzn-container .chzn-single span {
display: none;
}
#egw_fw_topmenu_info_items #topmenu_info_quick_add select#quick_add_selectbox {
visibility: hidden;
}

View File

@ -5129,6 +5129,9 @@ td.message span.message {
border-bottom: 12px solid #ffffff;
margin-bottom: 11px;
}
#egw_fw_topmenu_info_items #topmenu_info_quick_add .chzn-container .chzn-single span {
display: none;
}
#egw_fw_topmenu_info_items #topmenu_info_quick_add select#quick_add_selectbox {
visibility: hidden;
}

View File

@ -125,6 +125,7 @@ egw_LAB.wait(function() {
mouseover: function(ev){
// do NOT react on bubbeling events from contained selectbox
var $select = jQuery('#quick_add_selectbox');
if (!$select.children()[0]['value']) $select.children()[0].text = '';
var $chosen_div = $select.next();
if ($chosen_div.hasClass('chzn-container'))
{
@ -133,7 +134,8 @@ egw_LAB.wait(function() {
else
{
$select.chosen({
disable_search: true
disable_search: true,
display_selected_options: false
});
$chosen_div = $select.next();
}

View File

@ -228,6 +228,7 @@
border-bottom: 12px solid #ffffff;
margin-bottom: 11px;
}
.chzn-single span {display: none;}
}

View File

@ -5140,6 +5140,9 @@ td.message span.message {
border-bottom: 12px solid #ffffff;
margin-bottom: 11px;
}
#egw_fw_topmenu_info_items #topmenu_info_quick_add .chzn-container .chzn-single span {
display: none;
}
#egw_fw_topmenu_info_items #topmenu_info_quick_add select#quick_add_selectbox {
visibility: hidden;
}