Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {if isset($smarty.get.type) && $smarty.get.type == "modules"
- && isset($smarty.get.controller) && $smarty.get.controller == "AdminTranslations" }
- <script type="text/javascript">
- $(function(){
- $('#translations_form input:text,textarea').each(function(){
- $(this).data('name',$(this).attr('name'));
- $(this).removeAttr('name');
- });
- $('#translations_form').on('change','input:text,textarea',function(){
- var name = $(this).data('name');
- if(name) $(this).attr('name',name);
- });
- });
- </script>
- {/if}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement