mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed generated SQL when any token in FTS Configuration or any option in FTS Dictionary is changed. Fixes #5268
This commit is contained in:
committed by
Akshay Joshi
parent
75b6341a84
commit
88a1e03314
@@ -19,6 +19,7 @@ define('pgadmin.node.fts_configuration', [
|
||||
|
||||
// Model for tokens control
|
||||
var TokenModel = pgAdmin.Browser.Node.Model.extend({
|
||||
idAttribute: 'token',
|
||||
defaults: {
|
||||
token: undefined,
|
||||
dictname: undefined,
|
||||
|
||||
@@ -19,8 +19,9 @@ define('pgadmin.node.fts_dictionary', [
|
||||
|
||||
// Extend the browser's node model class to create a option/value pair
|
||||
var OptionLabelModel = pgAdmin.Browser.Node.Model.extend({
|
||||
idAttribute: 'option',
|
||||
defaults: {
|
||||
options: undefined,
|
||||
option: undefined,
|
||||
value: undefined,
|
||||
},
|
||||
// Define the schema for the Options
|
||||
|
||||
Reference in New Issue
Block a user