case 3678
This commit is contained in:
@@ -117,16 +117,46 @@
|
||||
var x = false;
|
||||
var y = false;
|
||||
|
||||
//case 3678
|
||||
//New update from apple broke the page scroll blocking functionality
|
||||
//// Mouse events
|
||||
//$(document).mousedown(function (e) { drawingStart(e); });
|
||||
//$(document).mousemove(function (e) { drawingMove(e); });
|
||||
//$(document).mouseup(function () { drawingStop(); });
|
||||
|
||||
//// Touch events
|
||||
//$(document).bind('touchstart', function (e) { drawingStart(e); });
|
||||
//$(document).bind('touchmove', function (e) { drawingMove(e); });
|
||||
//$(document).bind('touchend', function () { drawingStop(); });
|
||||
//$(document).bind('touchcancel', function () { drawingStop(); });
|
||||
|
||||
//case 3678
|
||||
var spad = $("#sigpad");
|
||||
// Mouse events
|
||||
$(document).mousedown(function (e) { drawingStart(e); });
|
||||
$(document).mousemove(function (e) { drawingMove(e); });
|
||||
$(document).mouseup(function () { drawingStop(); });
|
||||
spad.mousedown(function (e) {
|
||||
drawingStart(e);
|
||||
});
|
||||
spad.mousemove(function (e) {
|
||||
drawingMove(e);
|
||||
});
|
||||
spad.mouseup(function () {
|
||||
drawingStop();
|
||||
});
|
||||
|
||||
// Touch events
|
||||
$(document).bind('touchstart', function (e) { drawingStart(e); });
|
||||
$(document).bind('touchmove', function (e) { drawingMove(e); });
|
||||
$(document).bind('touchend', function () { drawingStop(); });
|
||||
$(document).bind('touchcancel', function () { drawingStop(); });
|
||||
spad.bind("touchstart", function (e) {
|
||||
drawingStart(e);
|
||||
});
|
||||
spad.bind("touchmove", function (e) {
|
||||
drawingMove(e);
|
||||
});
|
||||
spad.bind("touchend", function () {
|
||||
drawingStop();
|
||||
});
|
||||
spad.bind("touchcancel", function () {
|
||||
drawingStop();
|
||||
});
|
||||
|
||||
|
||||
// Adds the clear button / link
|
||||
if (options.showClear === true) {
|
||||
|
||||
@@ -737,7 +737,9 @@
|
||||
<Folder Include="Filters\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="packages.config" />
|
||||
<Content Include="packages.config">
|
||||
<SubType>Designer</SubType>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\bizobjects\AyaLib\GZTW.AyaNova.BLL.csproj">
|
||||
|
||||
Reference in New Issue
Block a user