< 152020-04-16⋎17 >

farmOS (farmos.org) is a free and open source, web-based farm management system. User guide: farmos.org/guide/ - Feature requests and bug reports: github.com/farmOS/farmOS/issuesSet by ChanServ on 2018-08-16 at 14:32
00:22*JustTB has quit (Quit: Leaving.)
00:36*JustTB has joined
04:24*sidepocket_ has joined
04:32*JustTB has quit (Quit: Leaving.)
06:19*sidepocket_ has quit (Quit: Leaving)
07:31*farmBOT has joined
08:02*JustTB has joined
09:02*JustTB has quit (Quit: Leaving.)
09:17*JustTB has joined
13:47*JustTB has quit (Quit: Leaving.)
13:51skipper_is[m]`Notice: Undefined variable: options in farm_livestock_weight_group_report_form() (line 189 of profiles/farm/modules/farm/farm_livestock/farm_livestock_weight/farm_livestock_weight.module).`
13:51skipper_is[m]Is this because I have no farm livestock weights, or that the module isn't installed?
13:55skipper_is[m]Also, the map not saving which layer you set (eg OSM/Google Sat) there were some other people who had that issue wasn't there? What was the resolution? I can't seem to see it on Git
14:04symbioquine[m]Unrelated to that... probably my favorite UI bug in a while; (watch the top menu icons)
14:04*uploaded an image: Peek 2020-04-16 07-00.gif (656KB) < matrix.org/_matrix/media/r0/download/mat >
14:07mstenta[m]> Is this because I have no farm livestock weights, or that the module isn't installed?
14:07mstenta[m]That's just a PHP Notice... safe to ignore. But we should fix. We just need to add `$options = array();` before this line: github.com/farmOS/farmOS/blob/7.x-1.x/mo
14:08skipper_is[m]I've only just got user 1 access, they're not going to let me poke around in their server files
14:08mstenta[m]> Also, the map not saving which layer you set (eg OSM/Google Sat) there were some other people who had that issue wasn't there? What was the resolution? I can't seem to see it on Git
14:08mstenta[m]here is the related issue: github.com/farmOS/farmOS-map/issues/65
14:10mstenta[m]iirc, that issue seems to be related to the OS+browser being used. are you using windows+chrome?
14:10skipper_is[m]Yea
14:10mstenta[m]> Unrelated to that... probably my favorite UI bug in a while; (watch the top menu icons)
14:10mstenta[m]AHH! that's weird haha
14:11mstenta[m]I think I know why though...
14:12mstenta[m]symbioquine: this code needs to use jQuery `.once()`: github.com/farmOS/farmOS/blob/7.x-1.x/th
14:13skipper_is[m]Weird that the map bug is not there on my FarmOS, but the other one, also running 1.3 it is. Same browser, same OS..
14:13mstenta[m]skipper_is: Oh yea? Hmm
14:14mstenta[m]Can you open dev tools in your browser in both and look at the local storage?
14:15*uploaded an image: Screenshot from 2020-04-16 10-14-44.png (99KB) < matrix.org/_matrix/media/r0/download/mat >
14:15mstenta[m]also: test that page farmos.github.io/farmOS-map/
14:15mstenta[m]does the problem happen there too?
14:17mstenta[m]skipper_is: worth noting... i pushed a few minor changes (fixes) to the localstorage code to farmOS-map.js... but they are not included in farmOS 1.3
14:17mstenta[m]you might be able to ask the sysadmins to replace the farmOS-map.js file manually on their server to see if that helps
14:18mstenta[m](i would actually love to know if that fixes it for you)
14:22mstenta[m]github.com/farmOS/farmOS-map/releases/ta
14:24*JustTB has joined
14:35symbioquine[m]<mstenta[m] "symbioquine: this code needs to "> I didn't see an obvious place to put `.once()` in there, but this fixes it; github.com/farmOS/farmOS/pull/275
14:36mstenta[m]cool! thanks symbioquine !
14:36mstenta[m]I'll comment on that with some ideas
14:36mstenta[m]i think using `.once()` is the "proper" solution... and should have been done that way from the beginning (my bad)
14:36mstenta[m]i'll explain in the PR
14:37symbioquine[m]Cool. I'd be interested to see. I don't use jQuery much these days...
14:44mstenta[m]github.com/farmOS/farmOS/pull/275#issuec
14:47mstenta[m]skipper_is: I am committing a fix to the PHP notice... FYI
15:01symbioquine[m]<mstenta[m] "i think using `.once()` is the ""> Thanks for the explanation on the PR! Here's the improved version :) github.com/farmOS/farmOS/pull/276
15:02mstenta[m]Cool! Thanks! Were you able to test if that worked?
15:03symbioquine[m]Yeah it does
15:03mstenta[m]merged!
15:07symbioquine[m]Thanks!
16:12*JustTB has quit (Ping timeout: 256 seconds)
16:37*JustTB has joined
16:47*JustTB has quit (Quit: Leaving.)
17:02*JustTB has joined
17:12*JustTB has quit (Quit: Leaving.)
17:23*JustTB has joined
17:25*JustTB has quit (Client Quit)
18:01*JustTB has joined

< 152020-04-16⋏17 >