POSSA / freepbx-trunk-balancing

Restrict outbound calls or balance calls over multiple trunks based on user specified parameters
http://pbxossa.org/files/trunkbalance/
37 stars 30 forks source link

Module GUI does not work with FreePBX 2.10 #2

Closed lgaetz closed 12 years ago

lgaetz commented 12 years ago

Add version dependency like this:

[11:36] <lgaetz> module i am working on will NOT work with 2.10
[11:37] <philippel_mac> ok then <version>lt 2.10.0alpha0</version>
[11:37] <lgaetz> what about <version>le 2.9</version>    ??
[11:37] <philippel_mac> nope
lgaetz commented 12 years ago

Previous commit adds < 2.10 dependency only

When clicking submit on page.trunkbalance.php in FreePBX 2.8, chrome js dev console gives this error: Uncaught TypeError: Object #<HTMLSelectElement> has no method 'select'

I can't get any errors using FreePBX 2.10 because submit button doesn't work.

tm1000 commented 12 years ago

Ohhhh! Look at you. You got a hold of the magical, mystical 'philippel_mac'. You should feel special. He's rarely ever on. The only way I get a hold of him is phone :-)

lgaetz commented 12 years ago

Yep, I squandered the opportunity asking a simple question too

lgaetz commented 12 years ago

GUI js problem is fixed and was not a real problem anyway. I was using a small window to view page.trunkbalance.php and the submit button was getting crushed into the page footer. I put in a bunch of <br> and it forces a bit more space.

There are still 2.10 issues, but the GUI is not one of them.