Commit graph

176 commits

Author SHA1 Message Date
Pavel Reznikov
156b8e40cb Merge pull request #370 from krema/master
Allow negative numbers to be passed to parseHeight function
2016-02-29 23:59:28 -08:00
Pavel Reznikov
b3d5be137c Merge pull request #371 from pmoradei/setgridsize_propagate
Add a parameter to setGridWidth method to allow not to propagate resi…
2016-02-29 23:49:11 -08:00
Pavel Reznikov
ea442d1936 drag between grids 2016-02-29 23:10:23 -08:00
pmoradei
c309856f8d Add a parameter to setGridWidth method to allow not to propagate resizing to widgets. 2016-02-29 19:52:46 +01:00
Pavel Reznikov
446dade5d0 drag from sidebar/between grids 2016-02-28 22:08:05 -08:00
André Kremser
d20f6703c6 Allow negative numbers to be passed to parseHeight function fix 2016-02-28 15:55:45 -08:00
André Kremser
0816163693 Allow negative numbers to be passed to parseHeight function 2016-02-28 11:26:17 -08:00
Pavel Reznikov
e31d50eedc check if element setup before detach 2016-02-27 18:47:24 -08:00
Pavel Reznikov
67274f873c trash zone is accepting only widgets 2016-02-27 18:46:41 -08: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
Kevin Dietrich
934863e285 Merge remote-tracking branch 'troolee/master' into tests
# Conflicts:
#	package.json
2016-02-22 19:09:50 +01:00
d
5f5a83d01b Added several optional parameters to addWidget: minWidth, maxWidth, minHeight, maxHeight, and id. 2016-02-22 12:21:32 -05:00
d
78803147c6 #237 Add optional useOffset parameter to getCellFromPixel. 2016-02-22 10:56:49 -05:00
d
de26b00f85 #216 Add detachGrid parameter to destroy. Updated docs for remove and removeAll param. 2016-02-22 09:33:09 -05:00
Pavel Reznikov
2075d2556b add removable option 2016-02-21 20:49:18 -08:00
Pavel Reznikov
a5d06d2b1f css fix: hide resize handle during dragging 2016-02-21 20:44:00 -08:00
Dylan Weiss
9b455d6018 #227 Add setGridWidth(gridWidth) method. Attempts to intelligently change existing widgets' x-coordinate and width to map to new width. 2016-02-20 11:37:34 -05:00
Pavel Reznikov
c34777b2a0 hack for meteor support 2016-02-20 01:14:04 -08:00
Pavel Reznikov
3a5c675e6f ‘auto’ value for cellHeight 2016-02-20 00:55:33 -08:00
Pavel Reznikov
4b13d407b0 rtl support 2016-02-20 00:11:06 -08:00
Pavel Reznikov
76f90a21f3 clean scss 2016-02-20 00:07:54 -08:00
Pavel Reznikov
cea9174bd3 move parseHeight to Utils 2016-02-19 23:37:25 -08:00
Pavel Reznikov
781776e408 remove dependency from FontAwesome 2016-02-19 23:23:27 -08:00
Pavel Reznikov
7c586417fb fix #267 2016-02-19 18:17:46 -08:00
Pavel Reznikov
c43a12ac06 code style 2016-02-19 16:45:30 -08:00
Pavel Reznikov
47218bd7a6 fix jshit warnings 2016-02-19 14:31:24 -08:00
Kevin Dietrich
d3d00d563f Set engine for testing purposes 2016-02-19 19:59:58 +01:00
Pavel Reznikov
b8bd181970 Viewport Size fix 2016-02-19 09:33:29 -08:00
d
ff15070de0 Fix #331. Add options to disable move and resize independently without impacting jquery-ui options. Update enableMove and enableResize methods to update these options on-the-fly. 2016-02-19 11:18:09 -05:00
d
03ca75717c Merge branch 'master' into bugfix/staticGrid
# Conflicts:
#	dist/gridstack.min.map
2016-02-18 16:52:57 -05:00
d
ca800454f1 #220. Add enableMove and enableResize. Fix staticGrid. 2016-02-18 16:48:16 -05:00
Pavel Reznikov
6e0aab4780 Revert "Viewport Size" 2016-02-18 09:49:33 -08:00
Stuardo -StR- Rodríguez
b979982cc5 Viewport
- do not parseInt but parseFloat
2016-02-18 11:33:49 -05:00
Stuardo -StR- Rodríguez
331eef1f57 Viewport Size
Allow viewport height units. Allow to use float as size.
example:  1.5em;  33vh;
2016-02-18 11:15:58 -05:00
Pavel Reznikov
02f0eba64d add maxWidth/maxHeight 2016-02-17 19:03:21 -08:00
Pavel Reznikov
e146e0d943 replace tab with spaces 2016-02-17 18:40:47 -08:00
d
7bcbeba849 Added previous PR. 2016-02-17 16:07:40 -05:00
d
64de4684e3 Added obsoletion code for deprecated methods and options. Added jscs settings and ensured code passed. Ensured code passed jshint. 2016-02-17 15:46:48 -05:00
Kevin Dietrich
1e75be19ed Preserve license comments in dist 2016-02-15 20:37:07 +01:00
Kevin Dietrich
f4e8b9e03e Development of 0.2.5 started 2016-02-15 20:31:19 +01:00