Grid edit: fix bug - support for SET and ENUM data type

This commit is contained in:
Aris Feryanto 2011-07-25 16:47:59 +08:00
parent 4bfa0b7e5b
commit b25ce5afa9

View File

@ -605,6 +605,10 @@
* relational display column if in 'Relational key' mode (for fields that are foreign keyed).
*/
var relation_key_or_display_column = $td.find('a').attr('title');
/**
* @var curr_value String current value of the field (for fields that are of type enum or set).
*/
var curr_value = $td.find('span').text();
// empty all edit area, then rebuild it based on $td classes
$editArea.empty();