js ending delimiter S3 auto literal behaviour is quite bulletproof
tests have proofed " } ;" and " };" and even "};" are interpreted correct!
This commit is contained in:
parent
7544348e08
commit
449367c7aa
@ -143,8 +143,9 @@
|
||||
{$none}
|
||||
{/if}
|
||||
</fieldset>
|
||||
{* Smarty 3 has a new auto literal option which is enabled by default.
|
||||
When the { is surrounded by whitespace it is not interpreted as smarty delimiter but literal. e.g. ' } ;' *}
|
||||
{*** Smarty 3 has a new auto literal option which is enabled by default.
|
||||
When the { is surrounded by whitespace it is not interpreted as smarty delimiter but literal. e.g. ' } ;'
|
||||
AS tests have proofed, ending javascript delimiters " } ;" and " };" and even "};" work fine as well. So back to origin. ***}
|
||||
<script>
|
||||
function sort_{$config_item}_Sequence() {
|
||||
//var seq = DragDrop.serData('{$config_item}_group', null);
|
||||
|
@ -165,8 +165,9 @@
|
||||
{if (!is_array($items) || empty($order_id))}
|
||||
{$none}
|
||||
{/if}
|
||||
{* Smarty 3 has a new auto literal option which is enabled by default.
|
||||
When the { is surrounded by whitespace it is not interpreted as smarty delimiter but literal. e.g. ' } ;' *}
|
||||
{*** Smarty 3 has a new auto literal option which is enabled by default.
|
||||
When the { is surrounded by whitespace it is not interpreted as smarty delimiter but literal. e.g. ' } ;'
|
||||
AS tests have proofed, ending javascript delimiters " } ;" and " };" and even "};" work fine as well. So back to origin. ***}
|
||||
<script type="text/javascript">
|
||||
function sort_{$config_item}_Sequence() {
|
||||
//var seq = DragDrop.serData('{$config_item}_group', null);
|
||||
|
Loading…
x
Reference in New Issue
Block a user