mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Resolved - Integer type of preferences are not updated
Reason: IntegerControl assumes the model, passed to it, would always has errorModel variable set properly. In order to resolve it, now using pgBrowser.DataModel instead of Backbone.Model, which initialize the errorModel by default. Fixes #1868
This commit is contained in:
parent
bc5cc964a3
commit
b17eb15742
@ -35,7 +35,7 @@ define(
|
|||||||
* This model will be used to keep tracking of the changes done for
|
* This model will be used to keep tracking of the changes done for
|
||||||
* an individual option.
|
* an individual option.
|
||||||
*/
|
*/
|
||||||
var PreferenceModel = Backbone.Model.extend({
|
var PreferenceModel = pgBrowser.DataModel.extend({
|
||||||
idAttribute: 'id',
|
idAttribute: 'id',
|
||||||
defaults: {
|
defaults: {
|
||||||
id: undefined,
|
id: undefined,
|
||||||
|
Loading…
Reference in New Issue
Block a user