@@ -203,7 +203,7 @@ public function renderTicketTable($collection)
203203 $ field = '<div style="margin: 0em 0em 1em 0em;"> ' .$ field .'</div> ' ;
204204
205205 if (Setting::grab ('list_text_max_length ' ) != 0 and strlen ($ ticket ->content ) > (Setting::grab ('list_text_max_length ' )+30 )){
206- $ field .= '<div class="jquery_ticket_ ' . $ ticket ->id . '_text" data-height-plus="" data-height-minus=""> '
206+ $ field .= '<div class="ticket_text jquery_ticket_ ' . $ ticket ->id . '_text" data-height-plus="" data-height-minus=""> '
207207 .'<span class="text_minus"> ' . mb_substr ($ ticket ->content , 0 , Setting::grab ('list_text_max_length ' )) . '...</span> '
208208 .'<span class="text_plus" style="display: none"> ' . $ ticket ->content . '</span> '
209209 .' <button class="btn btn-light btn-xs jquery_ticket_text_toggle" data-id=" ' . $ ticket ->id . '"><span class="fa fa-plus"></span></button></div> ' ;
@@ -222,7 +222,7 @@ public function renderTicketTable($collection)
222222 if (Setting::grab ('subject_content_column ' ) == 'no ' ){
223223 $ collection ->editColumn ('content ' , function ($ ticket ) {
224224 if (Setting::grab ('list_text_max_length ' ) != 0 and strlen ($ ticket ->content ) > (Setting::grab ('list_text_max_length ' )+30 )){
225- $ field = '<div class="jquery_ticket_ ' . $ ticket ->id . '_text" data-height-plus="" data-height-minus=""> '
225+ $ field = '<div class="ticket_text jquery_ticket_ ' . $ ticket ->id . '_text" data-height-plus="" data-height-minus=""> '
226226 .'<span class="text_minus"> ' . mb_substr ($ ticket ->content , 0 , Setting::grab ('list_text_max_length ' )) . '...</span> '
227227 .'<span class="text_plus" style="display: none"> ' . $ ticket ->content . '</span> '
228228 .' <button class="btn btn-light btn-xs jquery_ticket_text_toggle" data-id=" ' . $ ticket ->id . '"><span class="fa fa-plus"></span></button></div> ' ;
@@ -239,7 +239,7 @@ public function renderTicketTable($collection)
239239 $ collection ->editColumn ('intervention ' , function ($ ticket ) {
240240
241241 if (Setting::grab ('list_text_max_length ' ) != 0 and strlen ($ ticket ->intervention ) > (Setting::grab ('list_text_max_length ' )+30 )){
242- $ field = '<div class="jquery_ticket_ ' . $ ticket ->id . '_text" data-height-plus="" data-height-minus=""> '
242+ $ field = '<div class="ticket_text jquery_ticket_ ' . $ ticket ->id . '_text" data-height-plus="" data-height-minus=""> '
243243 .'<span class="text_minus">... ' . mb_substr ($ ticket ->intervention , (mb_strlen ($ ticket ->intervention )-Setting::grab ('list_text_max_length ' ))) . '</span> '
244244 .'<span class="text_plus" style="display: none"> ' . $ ticket ->intervention . '</span> '
245245 .' <button class="btn btn-light btn-xs jquery_ticket_text_toggle" data-id=" ' . $ ticket ->id . '"><span class="fa fa-plus"></span></button></div> ' ;
0 commit comments