Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
ckeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vanilla ckeditor-3.6.5
[ckeditor.git]
/
_source
/
plugins
/
tableresize
/
plugin.js
diff --git
a/_source/plugins/tableresize/plugin.js
b/_source/plugins/tableresize/plugin.js
index
a28ab12
..
d7d52ea
100644
(file)
--- a/
_source/plugins/tableresize/plugin.js
+++ b/
_source/plugins/tableresize/plugin.js
@@
-287,7
+287,7
@@
For licensing, see LICENSE.html or http://ckeditor.com/license
\r
function onMouseMove( evt )
\r
{
\r
\r
function onMouseMove( evt )
\r
{
\r
- move( evt.data.$.clientX );
\r
+ move( evt.data.getPageOffset().x );
\r
}
\r
\r
document = editor.document;
\r
}
\r
\r
document = editor.document;
\r
@@
-403,9
+403,11
@@
For licensing, see LICENSE.html or http://ckeditor.com/license
{
\r
evt = evt.data;
\r
\r
{
\r
evt = evt.data;
\r
\r
+ var pageX = evt.getPageOffset().x;
\r
+
\r
// If we're already attached to a pillar, simply move the
\r
// resizer.
\r
// If we're already attached to a pillar, simply move the
\r
// resizer.
\r
- if ( resizer && resizer.move( evt.$.clientX ) )
\r
+ if ( resizer && resizer.move( pageX ) )
\r
{
\r
cancel( evt );
\r
return;
\r
{
\r
cancel( evt );
\r
return;
\r
@@
-429,7
+431,7
@@
For licensing, see LICENSE.html or http://ckeditor.com/license
table.on( 'mousedown', clearPillarsCache );
\r
}
\r
\r
table.on( 'mousedown', clearPillarsCache );
\r
}
\r
\r
- var pillar = getPillarAtPosition( pillars, evt.$.clientX );
\r
+ var pillar = getPillarAtPosition( pillars, pageX );
\r
if ( pillar )
\r
{
\r
!resizer && ( resizer = new columnResizer( editor ) );
\r
if ( pillar )
\r
{
\r
!resizer && ( resizer = new columnResizer( editor ) );
\r