]> git.mxchange.org Git - friendica.git/blobdiff - library/cropper/tests/example-CSS-Absolute.htm
Merge pull request #3938 from MrPetovan/task/3878-mov-HTTPExceptions-to-src
[friendica.git] / library / cropper / tests / example-CSS-Absolute.htm
index 17e4c489d39fd74e0ff9c1f6b8bf406eb90fe9e0..b605fd344d8589f5b88e6085347543fe059a5c81 100644 (file)
                \r
                // setup the callback function\r
                function onEndCrop( coords, dimensions ) {\r
-                       $( 'x1' ).value = coords.x1;\r
-                       $( 'y1' ).value = coords.y1;\r
-                       $( 'x2' ).value = coords.x2;\r
-                       $( 'y2' ).value = coords.y2;\r
-                       $( 'width' ).value = dimensions.width;\r
-                       $( 'height' ).value = dimensions.height;\r
+                       $PR( 'x1' ).value = coords.x1;\r
+                       $PR( 'y1' ).value = coords.y1;\r
+                       $PR( 'x2' ).value = coords.x2;\r
+                       $PR( 'y2' ).value = coords.y2;\r
+                       $PR( 'width' ).value = dimensions.width;\r
+                       $PR( 'height' ).value = dimensions.height;\r
                }\r
                                \r
                // Absolute positioned example\r