Mobile postboxes don't respect global or user preferences
|Reported by:||tbuteler||Owned by:||azaozz|
I noticed there's a function in postbox.dev.js, on line 159, called _pb_change. It adjusts the number of columns on a page with metaboxes according to a mobile device's orientation. But since everything is hardcoded for 1 or 2 columns, all the work that went into allowing different number of columns for the user to choose, or even filtering those options via PHP and limiting their choice (I'm forcing 1 columns for all users, for instance), seems lost.
Maybe I'm missing something, but it seems pretty straightforward, even for my limited JS knowledge.