public inbox for [email protected]  
help / color / mirror / Atom feed
Patch for TypeError: this.field is undefined error
2+ messages / 2 participants
[nested] [flat]

* Patch for TypeError: this.field is undefined error
@ 2016-01-12 05:27  Harshal Dhumal <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: Harshal Dhumal @ 2016-01-12 05:27 UTC (permalink / raw)
  To: Ashesh Vashi <[email protected]>; +Cc: pgadmin-hackers

Hi,


Please find attached minor patch for TypeError: this.field is undefined
error in pgadmin.backform.js


-- 
*Harshal Dhumal*
*Software Engineer *



EenterpriseDB <http://www.enterprisedb.com;


-- 
Sent via pgadmin-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers


Attachments:

  [text/x-patch] pgadmin.backform_12_Jan.patch (556B, 3-pgadmin.backform_12_Jan.patch)
  download | inline diff:
diff --git a/web/pgadmin/static/js/backform.pgadmin.js b/web/pgadmin/static/js/backform.pgadmin.js
index a753f5d..6ef634c 100644
--- a/web/pgadmin/static/js/backform.pgadmin.js
+++ b/web/pgadmin/static/js/backform.pgadmin.js
@@ -858,7 +859,7 @@
       this.clearInvalid();
 
       this.$el.find('.subnode-body').each(function(ix, el) {
-        var error = self.keyPathAccessor(errorModel.toJSON(), this.field.get('name'));
+        var error = self.keyPathAccessor(errorModel.toJSON(), self.field.get('name'));
 
         if (_.isEmpty(error)) return;
 


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Patch for TypeError: this.field is undefined error
@ 2016-01-12 05:49  Ashesh Vashi <[email protected]>
  parent: Harshal Dhumal <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Ashesh Vashi @ 2016-01-12 05:49 UTC (permalink / raw)
  To: Harshal Dhumal <[email protected]>; +Cc: pgadmin-hackers

Thanks - I will look into it.

--

Thanks & Regards,

Ashesh Vashi
EnterpriseDB INDIA: Enterprise PostgreSQL Company
<http://www.enterprisedb.com;


*http://www.linkedin.com/in/asheshvashi*
<http://www.linkedin.com/in/asheshvashi;

On Tue, Jan 12, 2016 at 10:57 AM, Harshal Dhumal <
[email protected]> wrote:

> Hi,
>
>
> Please find attached minor patch for TypeError: this.field is undefined
> error in pgadmin.backform.js
>
>
> --
> *Harshal Dhumal*
> *Software Engineer *
>
>
>
> EenterpriseDB <http://www.enterprisedb.com;
>


^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2016-01-12 05:49 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-01-12 05:27 Patch for TypeError: this.field is undefined error Harshal Dhumal <[email protected]>
2016-01-12 05:49 ` Ashesh Vashi <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox