Roo/form/Signature.js
authorAlan Knowles <alan@roojs.com>
Wed, 16 Oct 2013 07:51:26 +0000 (15:51 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 16 Oct 2013 07:51:26 +0000 (15:51 +0800)
Roo/form/Signature.js

index 1426745..5dc18fb 100644 (file)
@@ -178,7 +178,7 @@ Roo.extend(Roo.form.Signature, Roo.form.Field,  {
     move : function (e) {
         if (this.isMouseDown) {
             this.signatureTmp += 'L' + this.getCoords(e) + ' ';
-            this.signPanel.select('#'+ this.svgID + '-svg-p', true).first().dom.setAttributeNS('http://www.w3.org/2000/svg', 'd', this.signatureTmp);
+            this.signPanel.select('#'+ this.svgID + '-svg-p', true).first().attr( 'd', this.signatureTmp);
         }
         
         e.preventDefault();