Просмотр исходного кода

Ticket #4585 - Polyglot: Minor fit for String field in grid.

AntonLV 2 лет назад
Родитель
Сommit
679a76125e
1 измененных файлов с 8 добавлено и 0 удалено
  1. 8 0
      studio/template/scripts/BxBaseStudioPolyglotKeys.php

+ 8 - 0
studio/template/scripts/BxBaseStudioPolyglotKeys.php

@@ -284,6 +284,14 @@ class BxBaseStudioPolyglotKeys extends BxDolStudioPolyglotKeys
         ));
     }
 
+    protected function _getCellData($sKey, $aField, $aRow)
+    {
+        if($sKey == 'string')
+            $aRow[$sKey] = strip_tags($aRow[$sKey]);
+
+        return parent::_getCellData($sKey, $aField, $aRow);
+    }
+
     protected function _addJsCss()
     {
         parent::_addJsCss();