From 31534b51e9d561c6c1fc5247d1af69e5813a1966 Mon Sep 17 00:00:00 2001 From: Roland Dalmulder Date: Sat, 25 Jul 2020 16:25:47 +0200 Subject: [PATCH] Fixed column name Fixed modal not self-closing Signed-off-by: Roland Dalmulder --- .../components/com_patchtester/install/sql/mysql/install.sql | 2 +- media/com_patchtester/js/fetcher.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/administrator/components/com_patchtester/install/sql/mysql/install.sql b/administrator/components/com_patchtester/install/sql/mysql/install.sql index 58a01ee..4b96da6 100644 --- a/administrator/components/com_patchtester/install/sql/mysql/install.sql +++ b/administrator/components/com_patchtester/install/sql/mysql/install.sql @@ -7,7 +7,7 @@ CREATE TABLE IF NOT EXISTS `#__patchtester_pulls` `pull_url` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `sha` varchar(40) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', `is_rtc` tinyint(1) NOT NULL DEFAULT 0, - `in_npm` tinyint(1) DEFAULT 0, + `is_npm` tinyint(1) DEFAULT 0, `branch` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', PRIMARY KEY (`id`) ) ENGINE = InnoDB diff --git a/media/com_patchtester/js/fetcher.js b/media/com_patchtester/js/fetcher.js index 4253fbe..dde1f04 100644 --- a/media/com_patchtester/js/fetcher.js +++ b/media/com_patchtester/js/fetcher.js @@ -90,7 +90,7 @@ if (typeof Joomla === 'undefined') { getRequest('fetch'); } else { jQuery('#progress').remove(); - jQuery('#modal-refresh button.close', window.parent.document).trigger('click'); + jQuery('#modal-sync button.close', window.parent.document).trigger('click'); } } catch (error) { try {