Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

FOP2 Community Forum

  1. Home
  2. Support
  3. Disable Buttons

Disable Buttons

Scheduled Pinned Locked Moved Support
12 Posts 2 Posters 256 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z
    Z
    zjhi
    wrote on last edited by
    #3

    for example, if person doesnt have cellphone set in config, it should disable 'transfer external' button when that person is selected, but it doesnt disable it in 2.25

    1 Reply Last reply
    0
    • N
      N
      nicolas
      wrote on last edited by
      #4

      Yes it does, most probably you have a mixed version of server/client after an upgrade (probably cached js files in your browser). Be sure to refresh your browser cache, or try with a different browser to verify.

      1 Reply Last reply
      0
      • Z
        Z
        zjhi
        wrote on last edited by
        #5

        clean installation, debian 32 bit works ok, 64 bit not.

        1 Reply Last reply
        0
        • N
          N
          nicolas
          wrote on last edited by
          #6

          That feature is not dependant on platform. Compare md5 sum for fop2.js in both installs, they should match.

          1 Reply Last reply
          0
          • Z
            Z
            zjhi
            wrote on last edited by
            #7

            All version works. Problem is user permissions in fop.cfg.

            work:
            user=1234🔢all

            example not work:
            user=1234🔢dial,hangup,pickup,transfer,transferexternal

            next problem: how i hide example "spy" button?

            1 Reply Last reply
            0
            • N
              N
              nicolas
              wrote on last edited by
              #8

              ok.! that sounds like a bug, the button is disabled on some circumstances only? But you wanted to disable the transfer to external button, what permission cause that button to not be disabled when it should? Having "all" ?

              If you do not have "spy" permissions the spy button should not be displayed.

              1 Reply Last reply
              0
              • Z
                Z
                zjhi
                wrote on last edited by
                #9

                it only works when user has all permissions. I only want to disable(not hide) it when selected user doesnt have cellphone number set in config.

                1 Reply Last reply
                0
                • N
                  N
                  nicolas
                  wrote on last edited by
                  #10

                  so, if you have "transferexternal" and no external number configured, the button is not disabled (when it should), am I right ?

                  1 Reply Last reply
                  0
                  • Z
                    Z
                    zjhi
                    wrote on last edited by
                    #11

                    yes

                    1 Reply Last reply
                    0
                    • N
                      N
                      nicolas
                      wrote on last edited by
                      #12

                      thanks, I verified the bug and fixed it. It will be available in the next fop2 release.

                      Best regards,

                      1 Reply Last reply
                      0

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      Powered by NodeBB Contributors
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups