Skip to content

Commit

Permalink
v2.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
paulhodel authored and paulhodel committed Feb 3, 2019
1 parent 3ba0b17 commit f01fccf
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dist/css/jquery.jcalendar.css
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
{
box-sizing:border-box;
cursor:pointer;
padding:10px;
padding:9px;
font-size:0.9em;
}

Expand Down
15 changes: 15 additions & 0 deletions dist/css/jquery.jexcel.css
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,21 @@
outline:none !important;
width:100% !important;
height:100% !important;
padding-left:4px !important;
}

.jexcel .jdropdown-container-header {
padding: 0px;
margin: 0px;
height: inherit;
}

.jexcel .jdropdown-picker
{
border:0px !important;
padding:0px !important;
width:inherit;
height:inherit;
}

.jexcel .jexcel_comments
Expand Down
16 changes: 13 additions & 3 deletions dist/js/jquery.jexcel.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* (c) 2013 Jexcel Plugin v2.0.0 | Bossanova UI
* (c) 2013 Jexcel Plugin v2.0.2 | Bossanova UI
* http://www.github.com/paulhodel/jexcel
*
* @author: Paul Hodel <[email protected]>
Expand Down Expand Up @@ -85,7 +85,7 @@ var methods = {
// Toolbar
toolbar:null,
// About message
about:'jExcel Spreadsheet\\nVersion 2.0.0\\nAuthor: Paul Hodel <[email protected]>\\nWebsite: https://bossanova.uk/jexcel'
about:'jExcel Spreadsheet\\nVersion 2.0.2\\nAuthor: Paul Hodel <[email protected]>\\nWebsite: https://bossanova.uk/jexcel'
};

// Id
Expand Down Expand Up @@ -804,9 +804,19 @@ var methods = {
$.fn.jexcel.touchControls = null

$(document).on('touchstart', function(e) {
if (! $(e.target).parents('.jexcel, .jexcel_contextmenu').length) {
$('#' + $.fn.jexcel.current).jexcel('resetSelection');
} else {
if (! $($.fn.jexcel.selectedCell).hasClass('edition')) {
if ($(e.target).parent().parent().parent().parent().hasClass('jexcel-content')) {
$.fn.jexcel.selectedCell = $(e.target);
$('#' + $.fn.jexcel.current).jexcel('updateSelection', $.fn.jexcel.selectedCell, $(e.target));
}
$.fn.jexcel.touchControl = setTimeout(function() {
$('#' + $.fn.jexcel.current).jexcel('openEditor', $.fn.jexcel.selectedCell, null, e);
}, 1000);
}, 500);
}
}
});

$(document).on('touchend touchcancel', function() {
Expand Down
2 changes: 1 addition & 1 deletion jexcel.jquery.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"data-grid",
"data-spreadsheet"
],
"version": "2.0.0",
"version": "2.0.2",
"author": {
"name": "Paul Hodel",
"url": "https://www.linkedin.com/in/paulhodel"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"data-grid",
"data-spreadsheet"
],
"version": "2.0.0",
"version": "2.0.2",
"bugs": "https://github.com/paulhodel/jexcel/issues",
"homepage": "https://github.com/paulhodel/jexcel",
"docs": "https://bossanova.uk/jexcel",
Expand Down

0 comments on commit f01fccf

Please sign in to comment.