Revert some auto formatting
authorCyperghost <olaf_schmitz_1@t-online.de>
Fri, 26 Jan 2024 16:04:16 +0000 (17:04 +0100)
committerCyperghost <olaf_schmitz_1@t-online.de>
Fri, 26 Jan 2024 16:04:16 +0000 (17:04 +0100)
wcfsetup/install/files/acp/templates/articleAdd.tpl

index fdf5db4562bff8fd5649a6fc2b30bf9b7f61c01b..66c2629e1f424411ba0a64213e71c25b4145b70a 100644 (file)
                                        isI18n: {if $article->isMultilingual}true{else}false{/if},
                                        languages: { {implode from=$languages item=language glue=', '}{@$language->languageID}: '{$language|encodeJS}'{/implode} }
                                },
-                               '{link controller='ArticleList'}{/link}'
-                       })
+                               redirectUrl: '{link controller='ArticleList'}{/link}'
+                       });
                {/if}
        });
 </script>
                });
                
                {if !$labelGroups|empty}
-                       new WCF.Label.ArticleLabelChooser({ {implode from=$labelGroupsToCategories key=__labelCategoryID item=labelGroupIDs}{@$__labelCategoryID}: [ {implode from=$labelGroupIDs item=labelGroupID}{@$labelGroupID}{/implode} ] {/implode} }, { {implode from=$labelIDs key=groupID item=labelID}{@$groupID}: {@$labelID}{/implode} }, '.articleAddForm')
+                       new WCF.Label.ArticleLabelChooser({ {implode from=$labelGroupsToCategories key=__labelCategoryID item=labelGroupIDs}{@$__labelCategoryID}: [ {implode from=$labelGroupIDs item=labelGroupID}{@$labelGroupID}{/implode} ] {/implode} }, { {implode from=$labelIDs key=groupID item=labelID}{@$groupID}: {@$labelID}{/implode} }, '.articleAddForm');
                {/if}
                
                new WCF.Message.I18nPreview({