Export to GitHub

evoluspencil - issue #641

image patch issue, "%5C"


Posted on Jun 26, 2014 by Happy Kangaroo

in windows environment export, then update load to linux server, "%5C" was not recognized by linux server.

I just added a single jquery to work around this issue: 1, open StyleSheet.xslt

added this to the header part

$("img[src]").each(function(){$(this).attr("src",$(this).attr("src").replace('%5C','/'));});

for I'm using jquery template, so final will be

            <SCRIPT type="text/javascript">
              $(document).ready(function () {
              $('body').layout({ applyDefaultStyles: true,
              minSize:140 });
              $("img[src]").each(function(){$(this).attr("src",$(this).attr("src").replace('%5C','/'));});
              });

</SCRIPT>

works

Comment #1

Posted on Jun 30, 2014 by Happy Kangaroo

sorry, forgot to post my fixed version of template which I said just in my last post

Attachments

Status: New

Labels:
Type-Defect Priority-Medium