InputDraw Javascript Bugfix (for v1.5)

InputDraw Javascript Bugfix (for v1.5)

Apr 18
Google Buzz

Update: there was an error with the Js compression. here is the Full InputDraw Js without any compression and working.

Last week, while doing a small project with InputDraw with Ajax calls that had draw components, I found a couple of small bugs on the inputdraw.js .

Today, I received a mail regarding these bugs (thanks Hendy).

Ok, so doing a Ajax web application, when your ajax response content had some drawing areas, like the documentation states, you needed to run:

<script type="text/javascript">InputDrawLoad();</script>

The problem is that this function isn’t working. That was just a typo when writing the function declaration.
But even pass that, some sketch components wouldn’t appear.
All these bugs were resolved and here is the new InputDraw javascript. Just overwrite the old one and all should work fine.

InputDraw v1.5 Javascript Lib

Remember that this is for version 1.5.

Leave a Reply

ERROR: si-captcha.php plugin says GD image support not detected in PHP!

Contact your web host and ask them why GD image support is not enabled for PHP.

ERROR: si-captcha.php plugin says imagepng function not detected in PHP!

Contact your web host and ask them why imagepng function is not enabled for PHP.