wlanslovenija / PiplMesh

A social info portal for wireless networks.
http://dev.wlan-si.net/wiki/PiplMesh
Other
40 stars 19 forks source link

ajax request for ordering panels is send on after finished resizing only #302

Closed dcrystalj closed 11 years ago

dcrystalj commented 11 years ago

284

dcrystalj commented 11 years ago

fixed only first issue

mitar commented 11 years ago

So this is a good idea. To use a library and to simply wrap in such a way. But you should do this only for Ajax requests.

dcrystalj commented 11 years ago

Is not as easy as it might looks like. It's first time for me doing javascript =)

mitar commented 11 years ago

So this is not so easy. :-)

So when you are resizing, you should in fact reorder them properly when window becomes wide enough for another column. And the way you reorder that should be the same as it is stored in the database. So then you have to make an Ajax request. But just when number of columns change.

It seems it does not store anything at the end of the resizing.

So the problem is in fact just that it reads from the server too many times, not just when number of columns change. Sorry for confusion.

mitar commented 11 years ago

Do you want to work more on this?

dcrystalj commented 11 years ago

Not really, don't have time.