Skip to content

Commit

Permalink
1.2.4
Browse files Browse the repository at this point in the history
Signed-off-by: Sascha Greuel <[email protected]>
  • Loading branch information
SoftCreatR committed Jul 29, 2022
1 parent 6d48a26 commit c37822e
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 18 deletions.
11 changes: 11 additions & 0 deletions fileDelete.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com https://www.woltlab.com/XSD/5.4/fileDelete.xsd">
<delete>
<file>acp/update_de.mysterycode.wcf.formBuilder.extension.php</file>
<file>lib/system/form/builder/data/processor/MCRecurringElementsFormDataProcessor.class.php</file>
<file>lib/system/form/builder/MCNestedFormDocument.class.php</file>
<file>lib/system/form/builder/container/MCRecurringElementsFormContainer.class.php</file>
<file>lib/system/form/builder/container/MCRegisterFormContainer.class.php</file>
<file>lib/data/TI18nDatabaseObjectAction.class.php</file>
</delete>
</data>
9 changes: 5 additions & 4 deletions files/js/MysteryCode/Form/Builder/Field/Wysiwyg/Attachment.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,16 @@
* @module MysteryCode/Form/Builder/Field/Field/Wysiwyg/Attachment
* @since 5.2
*/
define(["require", "exports", "tslib", "WoltLabSuite/Core/Form/Builder/Field/Value", "WoltLabSuite/Core/Core"], function (require, exports, tslib_1, Value_1, Core) {
define(["require", "exports", "tslib", "WoltLabSuite/Core/Form/Builder/Field/Value"], function (require, exports, tslib_1, Value_1) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Attachment = void 0;
Value_1 = tslib_1.__importDefault(Value_1);
Core = tslib_1.__importStar(Core);
class Attachment extends Value_1.default {
constructor(fieldId) {
super(fieldId + "_tmpHash");
}
}
Core.enableLegacyInheritance(Attachment);
return Attachment;
exports.Attachment = Attachment;
exports.default = Attachment;
});
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*
* @notice meant to be used in extensions of `AbstractDatabaseObjectAction` only
*/
trait TI18nDatabaseObjectAction
trait MCTI18nDatabaseObjectAction
{
/**
* @param string $propertyName
Expand Down
17 changes: 9 additions & 8 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<packagename language="de"><![CDATA[Form Builder: Erweiterung]]></packagename>
<packagedescription><![CDATA[Extension for the form builder API.]]></packagedescription>
<packagedescription language="de"><![CDATA[Erweiterung für die Form Builder-API.]]></packagedescription>
<version>1.2.3</version>
<date><![CDATA[2022-07-27]]></date>
<version>1.2.4</version>
<date><![CDATA[2022-07-29]]></date>
<license><![CDATA[Lesser General Public License (LGPL)]]></license>
</packageinformation>

Expand All @@ -24,14 +24,15 @@
</excludedpackages>

<instructions type="install">
<instruction type="file" />
<instruction type="acpTemplate" />
<instruction type="template" />
<instruction type="file"/>
<instruction type="acpTemplate"/>
<instruction type="template"/>
</instructions>

<instructions type="update" fromversion="*">
<instruction type="file" />
<instruction type="acpTemplate" />
<instruction type="template" />
<instruction type="file"/>
<instruction type="acpTemplate"/>
<instruction type="template"/>
<instruction type="fileDelete"/>
</instructions>
</package>
7 changes: 2 additions & 5 deletions ts/MysteryCode/Form/Builder/Field/Wysiwyg/Attachment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,11 @@
*/

import Value from "WoltLabSuite/Core/Form/Builder/Field/Value";
import * as Core from "WoltLabSuite/Core/Core";

class Attachment extends Value {
export class Attachment extends Value {
constructor(fieldId: string) {
super(fieldId + "_tmpHash");
}
}

Core.enableLegacyInheritance(Attachment);

export = Attachment;
export default Attachment;

0 comments on commit c37822e

Please sign in to comment.