public inbox for [email protected]  
help / color / mirror / Atom feed
From: Seçkin Alan <[email protected]>
To: [email protected]
Subject: [pgAdmin4] Server Groups Delete patch
Date: Fri, 15 Apr 2016 22:42:32 +0300
Message-ID: <CAJZJJmqnC64zE2pfSv+Xbp2byL9mW9gfwSi11eYWBAwNK7rS+Q@mail.gmail.com> (raw)
List-Unsubscribe:  <mailto:[email protected]?body=unsub%20pgadmin-hackers>

Drop server groups.

-- 
Seçkin ALAN
http://sckn.org


-- 
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] node_js.patch (716B, 2-node_js.patch)
  download | inline diff:
diff --git a/web/pgadmin/browser/templates/browser/js/node.js b/web/pgadmin/browser/templates/browser/js/node.js
index 0b52519..890c3dc 100644
--- a/web/pgadmin/browser/templates/browser/js/node.js
+++ b/web/pgadmin/browser/templates/browser/js/node.js
@@ -408,8 +408,9 @@ function($, _, S, pgAdmin, Menu, Backbone, Alertify, pgBrowser, Backform) {
       },
       // Delete the selected object
       delete_obj: function(args, item) {
-        var input = args || {};
+          var input = args || {'url':'drop'};
           obj = this,
+          obj.canDrop = true
           t = pgBrowser.tree,
           i = input.item || item || t.selected(),
           d = i && i.length == 1 ? t.itemData(i) : undefined;


view thread (2+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: [pgAdmin4] Server Groups Delete patch
  In-Reply-To: <CAJZJJmqnC64zE2pfSv+Xbp2byL9mW9gfwSi11eYWBAwNK7rS+Q@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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