Commit graph

206 commits

Author SHA1 Message Date
Dylan Weiss
5cf92a3c62 Only run checks for drag and resize if x, y, width, or height have changed at least one cell width/height. 2016-08-21 10:33:24 -04:00
Pavel Reznikov
6ebd7a2005 0.2.7-dev -> 0.3.0-dev 2016-08-20 13:33:40 -07:00
Pavel Reznikov
999020bcff fix amd 2016-08-20 12:57:37 -07:00
Pavel Reznikov
46b857a443 copy 2016-08-20 12:47:47 -07:00
Pavel Reznikov
3f193dbb3a move jQueryUI plugin to separate file 2016-08-18 21:43:28 -07:00
Pavel Reznikov
7cb3da3878 fix direct resizable calling 2016-08-18 21:42:59 -07:00
Pavel Reznikov
6d8ce2299c dd plugin registration 2016-08-18 21:01:23 -07:00
Pavel Reznikov
eeff06dbe8 incapsulate drag/drop into plugin 2016-08-18 20:51:41 -07:00
Pavel Reznikov
0b3b47cefe merge with master 2016-08-18 20:10:50 -07:00
d
64ea5c4cf6 Add isNodeChangedPosition. 2016-08-18 16:19:48 -04:00
Pavel Reznikov
78f00738ab fix lint errors 2016-08-17 23:36:05 -07:00
Pavel Reznikov
30b096d5f9 dd plugin draft 2016-08-17 23:29:59 -07:00
Dylan Weiss
af0f2d235b Fix #462 and remove 768px CSS limitation. 2016-08-17 19:09:02 -04:00
Pavel Reznikov
eebc0b15a6 0.2.7-dev 2016-08-17 09:39:52 -07:00
Pavel Reznikov
3928d05109 v0.2.6 2016-08-17 09:22:12 -07:00
Dylan Weiss
12605cceeb Don't mutate this.opts.draggable or this.opts.resizable when using _.extend. Fixes #505. 2016-08-17 11:45:52 -04:00
Dylan Weiss
ceef60d356 Fix #422, update to 0.2.7-dev. 2016-08-17 10:36:51 -04:00
Pavel Reznikov
11b6292d31 fix #460: fix cellWidth method 2016-08-16 21:43:28 -07:00
d
696b0f7ca8 Fix #481. 2016-08-16 15:36:22 -04:00
d
0c424c2637 Always call notify when removing a widget. Only remove the actual element if detachNode is not false. Update tests to reflect these changes. 2016-08-16 14:36:02 -04:00
Nik Cubrilovic
7f1d362a29 Add jQuery UI Droppable as module requirement 2016-08-15 22:57:04 +10:00
d
8f69732dda Update jquery-ui AMD requirements. 2016-08-11 16:35:44 -04:00
d
d3b77baf8c Merge commit 'f29236a78f' 2016-08-10 12:45:43 -04:00
Pavel Reznikov
d7a4171b54 fix ident 2016-08-09 18:54:39 -07:00
Pavel Reznikov
4c3abe8e63 fix jquery size() 2016-08-09 18:54:26 -07:00
Pavel Reznikov
0336d2401e starting 0.2.6-dev 2016-08-09 18:53:32 -07:00
Dylan Weiss
69ebbdbae5 Fix silly jQuery-ui updates (get rid of core and add /widgets to the widget calls. 2016-07-19 18:04:45 -04:00
Ross Harrison
94b249c77d don't trigger drag events without jquery ui 2016-04-21 11:45:25 -04:00
Ross Harrison
0a5d67cfc8 clean and build 2016-04-21 11:16:20 -04:00
Ross Harrison
f20fb331c9 static grid removes jquery ui requirement 2016-04-21 11:12:24 -04:00
julien cavaleiro
cc9271bcb5 Missing semicolon 2016-04-08 11:49:11 +02:00
julien cavaleiro
08f8b1d118 every node of gridstack should trigger resize when gridstack pass from desktop to mobile view. 2016-04-08 11:36:38 +02:00
julien cavaleiro
2c71ce639c every node of gridstack should trigger resize when gridstack pass from desktop to mobile view. 2016-04-08 11:22:56 +02:00
illusionalsagacity
90838740b0 fix: SVG resizable icons not showing in Internet Explorer.
IE9+ does not like the UTF8 encoding specifier.
2016-03-30 10:41:14 -04:00
Pavel Reznikov
c93ff95c03 v0.2.5 2016-03-02 19:58:52 -08:00
Pavel Reznikov
92d7e51d68 fix #373 2016-03-02 01:09:10 -08:00
d
398dccb7a9 Add default values for verticalMarginUnit and cellHeightUnit, update readme to have verticalMargin info, and several more unit tests. 2016-03-01 15:15:32 -05:00
Pavel Reznikov
0273bb66d8 Update dist. (+14 squashed commits)
Squashed commits:
[50607a9] build dist
[ff0c00b] Allow negative numbers to be passed to parseHeight function test case fix
[3ecc1ca] Allow negative numbers to be passed to parseHeight function test case
[d20f670] Allow negative numbers to be passed to parseHeight function fix
[0816163] Allow negative numbers to be passed to parseHeight function
[aa18c63] rebuild dist
[601b5d5] setGridWidth api documentation udpdate
[c309856] Add a parameter to setGridWidth method to allow not to propagate resizing to widgets.
[ea442d1] drag between grids
[50ce614] jqueryui + requirejs note
[3d8a8e1] drag between grids demo
[446dade] drag from sidebar/between grids
[e31d50e] check if element setup before detach
[67274f8] trash zone is accepting only widgets
2016-03-01 11:22:39 -05:00
d
0b944927ab More tests (including all obsolete options), clean up unnecessary code. 2016-03-01 11:14:26 -05:00
d
eedf6d5716 Fix _is_one_column_mode -> _isOneColumnMode and add in obsolete unit checks for all gs, non-GSEngine code. 2016-02-25 16:48:57 -05:00
d
b9c916554e Added parseInt(x, 10) to cellWidth and added some unit tests. 2016-02-25 15:48:25 -05:00
d
d521ef5330 Bit safer. 2016-02-24 13:22:36 -05:00
d
19f41a72a8 Fix one bug and another pops up. This fixes issue where passing detachNode=false to removeWidget would still cause it to be removed from the DOM. 2016-02-24 13:20:04 -05:00
d
735ffa2129 Fixes bug when calling destroy with detachGrid=false. Thanks @jhpedemonte. 2016-02-24 11:05:54 -05:00
Pavel Reznikov
9d12e25a02 improve removable behaviour 2016-02-23 20:13:11 -08:00
d
2abfbb37bf #54 - Added added and removed events. 2016-02-23 11:46:24 -05:00
Pavel Reznikov
a33f046fa6 fix in isAreaEmpty and _notify 2016-02-22 22:48:20 -08:00
Pavel Reznikov
6cd5084a23 fix isAreaEmpty 2016-02-22 22:21:13 -08:00
Pavel Reznikov
707916d6da fix parseHeight 2016-02-22 20:43:44 -08:00
Pavel Reznikov
23cd18804a remove unused code 2016-02-22 20:43:29 -08:00