Submit button not active

  1. 12 years ago

    I'm running FreePBX 2.10 with Asterisk 1.8.8.0 and installed the FOP2 panel per the instructions on this site for FreePBX. I've run into something odd however in that the submit button can't be clicked on any of the FOP2 pages. In order to submit a page I must move my cursor to the check box above the submit button then tab once, then hit enter. When I mouse over the button there's no change in the pointer, nothing to click. No hot spot.

    I'm using Firefox 9.01 with Windows 7 Professional. It seems to work OK in Internet Explorer.

  2. admin

    25 Jan 2012 Administrator

    Please read this post for a fix:

    View Post 1152&p=4372

  3. The file you sent me to says to remove the .disableSelection() in the last line however that last line doesn't exist. The text disableSelection doesn't exist anywhere in the page.fop2buttons.php file

  4. admin

    25 Jan 2012 Administrator

    This is the full line, and it *does* exists in fop2admin 1.2.9

    $("#sorteame_<?php echo $tipocorto;?> tbody").sortable({helper: fixHelper, update: function(event,ui) { serial = $('#sorteame_<?php echo $tipocorto;?> tbody').sortable('serialize'); $('#fop2info').load('<?php echo $myself;?>&action=sort&'+serial);}}).disableSelection();
  5. How do I determine what version of the FOP2 I'm running because that's not the last line I have in the file. I put the file in a text editor and searched for that term. It's not in the file anywhere. The last lines of the file I have are as follows:
    ?>
    <tr>
    <td colspan="9"><br><h6><input name="Submit" type="submit" value="<?php echo _("Submit Changes")?>" onclick="document.edit.submit(); return false;"></h6></td>
    </tr>

    <tr>
    <td colspan="4"><p><?php echo _("If you changed any extension names and want to reread them from the regular FreePBX config and update the FOP2 config, click ths button.");?></p></td>
    <td colspan="5"><input name="RefreshLabel" type="submit" value="<?php echo _("Refresh Labels")?>" onclick="document.edit.action.value='refresh'; document.edit.submit(); return false;"></td>
    </tr>
    </table>
    </form>
    <script language="javascript">
    <!--

    function edit_onsubmit() {
    return true;
    }

    //-->
    </script

  6. admin

    26 Jan 2012 Administrator

    I am talking about fop2admin version 1.2.9. You can check your version by loading the module admin page in FreePBX.

  7. Ah! I'm not sure when the last version came out. I just installed FOP2 last week from the FOP2 website but it looks like there's been an update already. I'm running version 1.2 4, which is still the version on the download page but I see there's a note for FreePBX under that for 1.2.9 I don't know if I missed the note or if that was added after I did my download.

    To get the 1.2.9 update do I download that from the download page or is there a # command I should use so I don't lose my settings?

  8. admin

    26 Jan 2012 Administrator

    Hmm.. 1.2.9 was released together with FOP 2.24, its the fifth item in the www.fop2.com/download.php page.

    Perhaps you scrolled way down and got the old version. Just download 1.2.9 and install.

  9. I must have just missed it. I saw the FOP Version 2.24 (final) on the top of the page and grabbed it, then followed all the instructions on the site for installing it for FreePBX. I guess I must have skilled right over the 1.29 Admin module.

    I'm a newbie on Linux, but learning. I have the fop2admin-1.2.9.tgz tarball and I've run the tar -xzvf command so I have the files now in my /tmp/fop2admin/ directory but I seem to have reached the end of my newbie knowledge. What's the command to install it from that?

    Jerry

  10. admin

    26 Jan 2012 Administrator

    hi,

    the fop2admin module can be installed directly via web, no need to extract it or copy directly to the server, here you have instructions:

    http://www.fop2.com/documentation-insta ... module.php

  11. OK. Doing it that was was easier than I'd expected. Sweet.

    The buttons are still un-clickable after the update. It does show 1.2.9 in the Module update screen now. Thinking I'd still need to edit the page.fop2buttons.php file I returned there but it still doesn't have the .disableSelection() in the last line. A find doesn't show it in the file.

    $("#sorteame_<?php echo $tipocorto;?> tbody").sortable({helper: fixHelper, update: function(event,ui) { serial = $('#sorteame_<?php echo $tipocorto;?> tbody').sortable('serialize'); $('#fop2info').load('<?php echo $myself;?>&action=sort&'+serial);}});

    <?php
    }
    }
    ?>
    //-->
    </script>

  12. admin

    26 Jan 2012 Administrator

    What browser are you using? Did you try with some other browser?

  13. The submit button has always been there in IE9, but not in Firefox 9. I had mentioned this in my original post.

  14. admin

    26 Jan 2012 Administrator

    I am not running FreePBX 2.10 myself so I cannot check.. I misread/forgot your first post.. I am sorry, when a post gets very long it is hard for me to keep track of it. This is not only the only post I am replying too not the only issue report I have to deal with.

    Why don't you try to contact me via the live help? If you can give me acccess to your FreePBX gui I would be able to check that for myself, it seems like a silly html redenring issue.

    Best regards,

  15. Runnig pcLinuxOS KDE 2012.1
    FreePBX 2.10RC
    FireFox 9.01

    Firefox display submit button but is not active
    Chromium works

  16. That's good to hear in a way. It confirms that it's not something unique to my system, which should make it easier for someone to figure out what's happening and correct it.

or Sign Up to reply!