Skip to content

Commit

Permalink
Merge pull request #16 from maikschneider/release-3.0.5
Browse files Browse the repository at this point in the history
release 3.0.5
  • Loading branch information
github-actions[bot] authored Oct 31, 2023
2 parents dc9ec10 + 04c1a45 commit f79cfe3
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 12 deletions.
2 changes: 0 additions & 2 deletions Configuration/TCA/Overrides/sys_file_reference.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
<?php
defined('TYPO3_MODE') || die('Access denied');

$_EXTKEY = 'bw_focuspoint_images';

$additionalColumns = [
'focus_points' => [
'exclude' => 0,
Expand Down
2 changes: 0 additions & 2 deletions Configuration/TCA/Overrides/tt_content.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

defined('TYPO3_MODE') or die();

$_EXTKEY = $GLOBALS['_EXTKEY'] = 'bw_focuspoint_images';

/*
Custom CE
Expand Down
6 changes: 3 additions & 3 deletions Resources/Private/Typescript/FocuspointWizard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ import $ = require('jquery');
import Modal = require('TYPO3/CMS/Backend/Modal');
// @ts-ignore
import Notification = require('TYPO3/CMS/Backend/Notification');
// @ts-ignore
import ImmediateAction = require('TYPO3/CMS/Backend/ActionButton/ImmediateAction');
import ImagesLoaded = require('imagesloaded');
import 'jquery-ui/draggable';
import 'jquery-ui/resizable';
Expand Down Expand Up @@ -608,8 +606,10 @@ class FocuspointWizard {

protected displayMissingPageTsWarning()
{
// Open Notification with Action button for for v10+
// Open Notification with Action button for v10+
if (this.typo3Version >= 10) {
// @ts-ignore
const ImmediateAction = require('TYPO3/CMS/Backend/ActionButton/ImmediateAction');
const notificationCallback = new ImmediateAction(() => {
window.open('https://docs.typo3.org/p/blueways/bw-focuspoint-images/master/en-us/#upgrade', '_blank').focus();
});
Expand Down
6 changes: 4 additions & 2 deletions Resources/Public/JavaScript/FocuspointWizard.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*
* The TYPO3 project - inspiring people to share!
*/
define(["require", "exports", "jquery", "TYPO3/CMS/Backend/Modal", "TYPO3/CMS/Backend/Notification", "TYPO3/CMS/Backend/ActionButton/ImmediateAction", "imagesloaded", "jquery-ui/draggable", "jquery-ui/resizable"], function (require, exports, $, Modal, Notification, ImmediateAction, ImagesLoaded) {
define(["require", "exports", "jquery", "TYPO3/CMS/Backend/Modal", "TYPO3/CMS/Backend/Notification", "imagesloaded", "jquery-ui/draggable", "jquery-ui/resizable"], function (require, exports, $, Modal, Notification, ImagesLoaded) {
"use strict";
/**
* Module: TYPO3/CMS/BwFocuspointImages/FocuspointWizard
Expand Down Expand Up @@ -504,8 +504,10 @@ define(["require", "exports", "jquery", "TYPO3/CMS/Backend/Modal", "TYPO3/CMS/Ba
}
}
displayMissingPageTsWarning() {
// Open Notification with Action button for for v10+
// Open Notification with Action button for v10+
if (this.typo3Version >= 10) {
// @ts-ignore
const ImmediateAction = require('TYPO3/CMS/Backend/ActionButton/ImmediateAction');
const notificationCallback = new ImmediateAction(() => {
window.open('https://docs.typo3.org/p/blueways/bw-focuspoint-images/master/en-us/#upgrade', '_blank').focus();
});
Expand Down
2 changes: 1 addition & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@
'author' => 'Maik Schneider',
'author_email' => 'maik.schneider@xima.de',
'author_company' => 'XIMA Media GmbH',
'version' => '3.0.4',
'version' => '3.0.5',
];
2 changes: 0 additions & 2 deletions ext_localconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

defined('TYPO3_MODE') || die('Access denied');

$_EXTKEY = 'bw_focuspoint_images';

/**
* Register new form type
*/
Expand Down

0 comments on commit f79cfe3

Please sign in to comment.