Skip to content

Commit

Permalink
Merge pull request #98 from ticktackk/develop
Browse files Browse the repository at this point in the history
1.3.4
  • Loading branch information
ticktackk authored Nov 10, 2020
2 parents 5e08404 + 959c77a commit 2de8ae5
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
CHANGELOG
==========================

## 1.3.4 (`1030470`)

- **Fix:** Testing template modification for specific style does not work (#97)

## 1.3.3 (`1030370`)

- **Fix:** Exception related to `array_key_exists` is thrown when creating a new user (6e6307d75578180d8bb6340367df50a62e7d982f)
Expand Down
2 changes: 1 addition & 1 deletion XF/Admin/Controller/TemplateModification.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public function actionTest(ParameterBag $params)
'contentModified' => $contentModified,
'diffs' => $diffs,
'style' => $style
]);
], false);
}

return $response;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"template": "template_modification_edit",
"description": "Add \"style_id\" hidden input which will contain the style for testing styles",
"execution_order": 6119,
"enabled": true,
"action": "str_replace",
"find": "</xf:form>",
"replace": "<xf:if is=\"($modification.type === 'public') && ($style is not empty)\">\n\t<xf:hiddenval name=\"style_id\" value=\"{$style.style_id}\" />\n</xf:if>\n\n$0"
}
4 changes: 2 additions & 2 deletions addon.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"legacy_addon_id": "",
"title": "Developer Tools",
"description": "This add-on provides enhancements for add-on developers.",
"version_id": 1030370,
"version_string": "1.3.3",
"version_id": 1030470,
"version_string": "1.3.4",
"dev": "TickTackk",
"dev_url": "https://xenforo.com/community/members/ticktackk.90375/",
"faq_url": "",
Expand Down

0 comments on commit 2de8ae5

Please sign in to comment.