[Bug 757] Javascript with Blocklayout

[email protected]
Newsgroups gmane.comp.cms.xaraya.bugs
Message-ID <[email protected]>
http://bugs.xaraya.com/show_bug.cgi?id=757


[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |feature_request
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX
            Summary|Javascript with BL          |Javascript with Blocklayout




------- Comment #10 from [email protected]  2009-02-18 12:14 GMT -------
(In reply to comment #0)
> I know it can be solved by adding <!-- on the first line of the script and
> --> on the last... but this prohibits me from using
> BL tags (or # vars) in the javascript, since BL ignores comments...

Add <!-- later in the script, not on the first line to get translated strings
in javascript.

<script>
var localizedStr = "xarML('originalStr')#";
<!--
  if (x < y) {
    some code with localizedStr
  }
// -->
</script>


-- 
Configure bugmail: http://bugs.xaraya.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

---- ** IMPORTANT ** READ BELOW ** ----
[Clip Me Start]
--------------------------------------------------------------------------
If you wish, you can reply to this message directly **however**, make sure
to use the "Reply To All" feature of your client **and** ensure that the 
bug specifier is in the subject (ie: [Bug ####]). Also, you _MUST_ have 
you're From or Reply-To address set to the same address you use to log
into your bugzilla account or your reply will not be attached to the bug.
--------------------------------------------------------------------------
[Clip Me End]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.