Apologies disregard my previous patch also,
I missed changes in "pga_job.js".
Thanks to Harshal pointing that out.
--
Regards,
Murtuza Zabuawala
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
On Wed, Jun 21, 2017 at 3:44 PM, Murtuza Zabuawala <
[email protected]> wrote:
> Hi,
>
> Please ignore previous patch.
>
> Attached is the updated patch which includes fixes for Materialized View &
> pgAgent modules are also included.
>
> --
> Regards,
> Murtuza Zabuawala
> EnterpriseDB: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>
> On Wed, Jun 21, 2017 at 1:54 PM, Murtuza Zabuawala <murtuza.zabuawala@
> enterprisedb.com> wrote:
>
>> Hi,
>>
>> PFA minor patch to fix the issue where create dialog opens blank due to
>> JS error.
>> RM#2504
>>
>> --
>> Regards,
>> Murtuza Zabuawala
>> EnterpriseDB: http://www.enterprisedb.com
>> The Enterprise PostgreSQL Company
>>
>
>
diff --git
a/web/pgadmin/browser/server_groups/servers/databases/schemas/views/templates/mview/js/mview.js
b/web/pgadmin/browser/server_groups/servers/databases/schemas/views/templates/mview/js/mview.js
index 4fafcca..7e1c835 100644
---
a/web/pgadmin/browser/server_groups/servers/databases/schemas/views/templates/mview/js/mview.js
+++
b/web/pgadmin/browser/server_groups/servers/databases/schemas/views/templates/mview/js/mview.js
@@ -173,7 +173,7 @@ define('pgadmin.node.mview', [
},{
id: 'fillfactor', label: gettext('Fill Factor'),
group: gettext('Storage'), mode: ['edit', 'create'],
- type: 'integer'
+ type: 'int'
},{
type: 'nested', control: 'tab', id: 'materialization',
label: gettext('Parameter'), mode: ['edit', 'create'],
diff --git
a/web/pgadmin/browser/server_groups/servers/pgagent/schedules/templates/pga_schedule/js/pga_schedule.js
b/web/pgadmin/browser/server_groups/servers/pgagent/schedules/templates/pga_schedule/js/pga_schedule.js
index f92c5b1..df6d98e 100644
---
a/web/pgadmin/browser/server_groups/servers/pgagent/schedules/templates/pga_schedule/js/pga_schedule.js
+++
b/web/pgadmin/browser/server_groups/servers/pgagent/schedules/templates/pga_schedule/js/pga_schedule.js
@@ -251,7 +251,7 @@ define('pgadmin.node.pga_schedule', [
return pgBrowser.Node.Model.prototype.parse.apply(this, arguments);
},
schema: [{
- id: 'jscid', label: gettext('ID'), type: 'integer',
+ id: 'jscid', label: gettext('ID'), type: 'int',
cellHeaderClasses: 'width_percent_5', mode: ['properties']
},{
id: 'jscname', label: gettext('Name'), type: 'text',
diff --git
a/web/pgadmin/browser/server_groups/servers/pgagent/steps/templates/pga_jobstep/js/pga_jobstep.js
b/web/pgadmin/browser/server_groups/servers/pgagent/steps/templates/pga_jobstep/js/pga_jobstep.js
index 7e676a3..baabda6 100644
---
a/web/pgadmin/browser/server_groups/servers/pgagent/steps/templates/pga_jobstep/js/pga_jobstep.js
+++
b/web/pgadmin/browser/server_groups/servers/pgagent/steps/templates/pga_jobstep/js/pga_jobstep.js
@@ -90,7 +90,7 @@ define('pgadmin.node.pga_jobstep', [
},
idAttribute: 'jstid',
schema: [{
- id: 'jstid', label: gettext('ID'), type: 'integer',
+ id: 'jstid', label: gettext('ID'), type: 'int',
cellHeaderClasses: 'width_percent_5', mode: ['properties']
},{
id: 'jstname', label: gettext('Name'), type: 'text',
diff --git
a/web/pgadmin/browser/server_groups/servers/pgagent/templates/pga_job/js/pga_job.js
b/web/pgadmin/browser/server_groups/servers/pgagent/templates/pga_job/js/pga_job.js
index 9702bec..ea1f118 100644
---
a/web/pgadmin/browser/server_groups/servers/pgagent/templates/pga_job/js/pga_job.js
+++
b/web/pgadmin/browser/server_groups/servers/pgagent/templates/pga_job/js/pga_job.js
@@ -97,7 +97,7 @@ define('pgadmin.node.pga_job', [
id: 'jobclass', label: gettext('Job class'), type: 'text',
mode: ['properties']
},{
- id: 'jobjclid', label: gettext('Job class'), type: 'integer',
+ id: 'jobjclid', label: gettext('Job class'), type: 'int',
control: 'node-ajax-options', url: 'classes', url_with_id: false,
cache_node: 'server', mode: ['create', 'edit'],
select2: {allowClear: false},