Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMWML-0005pF-41 for pgadmin-hackers@arkaria.postgresql.org; Mon, 11 Jul 2016 08:14:33 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bMWMJ-0004VQ-T5 for pgadmin-hackers@arkaria.postgresql.org; Mon, 11 Jul 2016 08:14:31 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bMWM7-0004Gl-3d for pgadmin-hackers@postgresql.org; Mon, 11 Jul 2016 08:14:19 +0000 Received: from mail-wm0-x231.google.com ([2a00:1450:400c:c09::231]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bMWM3-0006og-VN for pgadmin-hackers@postgresql.org; Mon, 11 Jul 2016 08:14:18 +0000 Received: by mail-wm0-x231.google.com with SMTP id o80so39120004wme.1 for ; Mon, 11 Jul 2016 01:14:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=vJAwcVBTB9t2rciF6ILlAY7hf/AZqt+sDL77IqoiFiY=; b=sd5nD+FyfRUTukSY2FAIXgqXznWtyBVWWQnVoqZE+89ZVlJfAP0YxCoQMdQdvfDGAs XCdVVe72hjBAlttOIgnUOtW/IYB4btwzOvUcQzmZX1ySiG/kIjD9t9pTjoE+E6fDAxjs RhRQt8gUk8NtqNjGO8XhK3AgpUfiIc9RuNHIgnz/s48xkx796H2Vz9n/qhFx637ymkb8 AQozd5qwcKjaZqkLbSXwRD31UqVtO1Ni265rjRrzfyKaKpqlHzhR8AhBOgY0kjufmZs4 zL6K2B846T7vuDVokraY2BIR5PRjYp9IHIoYnQPdQfABffWXUF50+t2mMjS/nHkZydwx zJRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=vJAwcVBTB9t2rciF6ILlAY7hf/AZqt+sDL77IqoiFiY=; b=Y/2+YiFb6bYVb57Zx+t08HxOkkfaPyIhYombe+y9eaDZk2mMEE/XDDLtEtl4DqV5aj AAFn7JEF/oGjPkSC7NV3qopA2bb3pFwnsEpvwjSW0BOcM9X3og6DUf52OzTeJ+tur3N/ aDxL9RQA4N5Hm8gmscDMAj3+CjkS7nSBGBgeOylML71Wy9fhBiCNr2Z1w/3F4Eu9T5Nh 6OthItHBS7S/IZ3ya6fT6qSSz+MvazEk74x9uXmeQo/J0wXObf7gLHraQ+P0pTw0xLDH 7d/PaROKpTe2lW59RPm7KAFmN2ltDuaz9d34fCs5rZCuA4+xolSsAB+FY0oRRx7Ks5WB zmnA== X-Gm-Message-State: ALyK8tLU+qZhqZY8U95TO0UD0e1QUT6g7ANj6zz+kZtxU1182vz1QaeQSLYBIy7QaUyNkSehbDfzh4Xha10EovOw X-Received: by 10.28.126.195 with SMTP id z186mr12836056wmc.95.1468224854963; Mon, 11 Jul 2016 01:14:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.54.164 with HTTP; Mon, 11 Jul 2016 01:13:45 -0700 (PDT) From: Surinder Kumar Date: Mon, 11 Jul 2016 13:43:45 +0530 Message-ID: Subject: [pgAdmin4][Patch]: Clear query window button click opens query tool in new window in Mac Runtime To: pgadmin-hackers Content-Type: multipart/mixed; boundary=001a114174e0ee62ca053757bcd4 X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgadmin-hackers Precedence: bulk Sender: pgadmin-hackers-owner@postgresql.org --001a114174e0ee62ca053757bcd4 Content-Type: multipart/alternative; boundary=001a114174e0ee62c3053757bcd2 --001a114174e0ee62c3053757bcd2 Content-Type: text/plain; charset=UTF-8 Hi *Issue:* When we click on "Clear query window" button in Query tool, a new instance of query tool opens in new window. The event "StopEventPropogation" was not working. Please find the attached patch and review. Thanks, Surinder Kumar --001a114174e0ee62c3053757bcd2 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi

Issue:
When we clic= k on "Clear query window" button in Query tool, a new instance of= query tool opens in new window. The event "StopEventPropogation"= was not working.

Please find the attached patch a= nd review.

Thanks,
Surinder Kumar
<= /div> --001a114174e0ee62c3053757bcd2-- --001a114174e0ee62ca053757bcd4 Content-Type: application/octet-stream; name="clear_query_opens_in_new_window_mac_runtime.patch" Content-Disposition: attachment; filename="clear_query_opens_in_new_window_mac_runtime.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_iqhr7zjt0 ZGlmZiAtLWdpdCBhL3dlYi9wZ2FkbWluL3Rvb2xzL3NxbGVkaXRvci90ZW1w bGF0ZXMvc3FsZWRpdG9yL2pzL3NxbGVkaXRvci5qcyBiL3dlYi9wZ2FkbWlu L3Rvb2xzL3NxbGVkaXRvci90ZW1wbGF0ZXMvc3FsZWRpdG9yL2pzL3NxbGVk aXRvci5qcwppbmRleCA5NjVkNTZlLi4yMzNhNmM0IDEwMDY0NAotLS0gYS93 ZWIvcGdhZG1pbi90b29scy9zcWxlZGl0b3IvdGVtcGxhdGVzL3NxbGVkaXRv ci9qcy9zcWxlZGl0b3IuanMKKysrIGIvd2ViL3BnYWRtaW4vdG9vbHMvc3Fs ZWRpdG9yL3RlbXBsYXRlcy9zcWxlZGl0b3IvanMvc3FsZWRpdG9yLmpzCkBA IC04NjIsOSArODYyLDggQEAgZGVmaW5lKAoKICAgICAgIC8vIENhbGxiYWNr IGZ1bmN0aW9uIGZvciB0aGUgY2xlYXIgYnV0dG9uIGNsaWNrLgogICAgICAg b25fY2xlYXI6IGZ1bmN0aW9uKGV2KSB7Ci0gICAgICAgIGV2ID0gZXYgfHwg d2luZG93LmV2ZW50OwotICAgICAgICBldi5jYW5jZWxCdWJibGUgPSB0cnVl OwotICAgICAgICBldi5zdG9wUHJvcGFnYXRpb24oKTsKKyAgICAgICAgdGhp cy5fc3RvcEV2ZW50UHJvcG9nYXRpb24oZXYpOworICAgICAgICB0aGlzLl9j bG9zZURyb3BEb3duKGV2KTsKCiAgICAgICAgIHRoaXMucXVlcnlfdG9vbF9v Ymouc2V0VmFsdWUoJycpOwogICAgICAgfSwK --001a114174e0ee62ca053757bcd4 Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers --001a114174e0ee62ca053757bcd4--