@@ -8,7 +8,7 @@ var dlgDiscardNew;
8
8
var dlgNewWindow ;
9
9
var dlgReplyAllWindow ;
10
10
var dlgFavorite ;
11
- var splitButton ;
11
+ var ddlReplyAll ;
12
12
var dlgDelete ;
13
13
var dropdownSelect = false ;
14
14
var acrdnObj = new ej . navigations . Accordion ( ) ;
@@ -134,13 +134,23 @@ function renderReplyAllList() {
134
134
var themeList = [
135
135
{ text : 'Reply' } , { text : 'Reply All' } , { text : 'Forward' }
136
136
] ;
137
- splitButton = new ej . splitbuttons . SplitButton ( {
138
- items : themeList ,
139
- content : 'Reply All' ,
140
- select : replyAllSelect ,
141
- iconCss : "e-btn-icon ej-icon-Reply-All tb-icons e-icons tb-icon-rply-all"
137
+ ddlReplyAll = new ej . dropdowns . DropDownList ( {
138
+ dataSource : themeList ,
139
+ fields : { text : 'text' } ,
140
+ valueTemplate : '<div>' +
141
+ '<div style="float:left;margin-top: 1px;">' +
142
+ '<span style="font-weight:bold;" class="e-btn-icon ej-icon-Reply-All tb-icons e-icons tb-icon-rply-all">' +
143
+ '</span>' +
144
+ '</div>' +
145
+ '<div class="tb-dropdowns" style="float:left" > Reply All </div>' +
146
+ '<div>' ,
147
+ popupHeight : '150px' ,
148
+ popupWidth : '150px' ,
149
+ width : '115px' ,
150
+ change : replyAllSelect ,
151
+ value : 'Reply All'
142
152
} ) ;
143
- splitButton . appendTo ( '#replyAllList' ) ;
153
+ ddlReplyAll . appendTo ( '#replyAllList' ) ;
144
154
}
145
155
function renderCategoryList ( ) {
146
156
var themeList = [
@@ -200,8 +210,8 @@ function renderMoreListMobile() {
200
210
dropDownListObj1 . select = moreItemSelect ;
201
211
}
202
212
function replyAllSelect ( args ) {
203
- if ( args . item . text ) {
204
- showNewMailPopup ( args . item . text ) ;
213
+ if ( args . itemData . text ) {
214
+ showNewMailPopup ( args . itemData . text ) ;
205
215
}
206
216
dropdownSelect = true ;
207
217
}
@@ -1114,8 +1124,8 @@ function documentClick(evt) {
1114
1124
else if ( ! dropdownSelectRP && dlgReplyAllWindow . visible && target . innerText === ddlLastRplyValueRP ) {
1115
1125
showMailDialogRP ( ddlLastRplyValueRP ) ;
1116
1126
}
1117
- else if ( ! dropdownSelect && ! dlgReplyAllWindow . visible && target . innerText === splitButton . content ) {
1118
- showNewMailPopup ( splitButton . content ) ;
1127
+ else if ( ! dropdownSelect && ! dlgReplyAllWindow . visible && target . innerText === ddlReplyAll . value ) {
1128
+ showNewMailPopup ( ddlReplyAll . value ) ;
1119
1129
}
1120
1130
else {
1121
1131
if ( target . tagName === 'SPAN' || ( target . children && target . children . length > 0 ) ) {
0 commit comments