Author Topic: elastic Skin  (Read 181 times)

Offline ge

  • Newbie
  • *
  • Posts: 4
elastic Skin
« on: July 05, 2018, 06:36:17 PM »
Hi everyone

I have a question about the new elastic skin that will be included with 1.4 beta, most of the blue buttons are disabled, as in the "Send" email, "Edit" contacts, "Save" button settings and so on.

Having a look at the code for one of this buttons, it has "disabled" on it:

<button class="btn btn-primary send" tabindex="0" data-content-button="true" type="button" id="rcmbtn119" onclick="return rcmail.command('send','',this,event)" value="Send" disabled="" aria-disabled="false">Send</button>

Any idea why that is, or how to fix that issue?

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,058
Re: elastic Skin
« Reply #1 on: July 06, 2018, 02:38:33 AM »
Are there any JS errors in your browser console? try will all plugins disabled.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…

Offline ge

  • Newbie
  • *
  • Posts: 4
Re: elastic Skin
« Reply #2 on: July 11, 2018, 07:05:08 AM »
I have the following errors:

change_lang.gif:1 Failed to load resource: the server responded with a status of 404 ()
jquery.min.js?s=1530811371:36 jQuery.Deferred exception: rcmail
    .enable_checkbox_selection is not a function TypeError: rcmail
      .enable_checkbox_selection is not a function
          at HTMLTableElement.<anonymous> (
https://hivemail.com/skins/elastic/ui.js?s=1530828892:507:30)
    at Function.each (https://hivemail.com/program/js/jquery.min.js?s=1530811371:36:2573)
    at w.fn.init.each (https://hivemail.com/program/js/jquery.min.js?s=1530811371:36:1240)
    at init (https://hivemail.com/skins/elastic/ui.js?s=1530828892:489:31)
    at rcube_webmail.triggerEvent (https://hivemail.com/program/js/common.min.js?s=1516188077:41:218)
    at rcube_webmail.init (https://hivemail.com/program/js/app.min.js?s=1516188077:63:262)
    at HTMLDocument.<anonymous> (https://hivemail.com/?_task=mail&_action=compose&_id=17325259365b45e33154967:454:8)
    at l (https://hivemail.com/program/js/jquery.min.js?s=1530811371:36:29375)
    at c (https://hivemail.com/program/js/jquery.min.js?s=1530811371:36:29677) undefined
w.Deferred.exceptionHook @ jquery.min.js?s=1530811371:36
jquery.min.js?s=1530811371:36 Uncaught TypeError: rcmail
    .enable_checkbox_selection is not a function
        at HTMLTableElement.<anonymous> (ui.js?s=1530828892:507)
        at Function.each (jquery.min.js?s=1530811371:36)
        at w.fn.init.each (jquery.min.js?s=1530811371:36)
        at init (ui.js?s=1530828892:489)
        at rcube_webmail.triggerEvent (common.min.js?s=1516188077:41)
        at rcube_webmail.init (app.min.js?s=1516188077:63)
        at HTMLDocument.<anonymous> (?_task=mail&_action=compose&_id=17325259365b45e33154967:454)
        at l (jquery.min.js?s=1530811371:36)
        at c (jquery.min.js?s=1530811371:36)
[/list][/list]

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,058
Re: elastic Skin
« Reply #3 on: July 11, 2018, 01:37:27 PM »
What version of rc are you running?
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…

Offline ge

  • Newbie
  • *
  • Posts: 4
Re: elastic Skin
« Reply #4 on: July 11, 2018, 05:44:47 PM »
1.4-git

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,058
Re: elastic Skin
« Reply #5 on: July 12, 2018, 07:38:40 AM »
have you tried with all rc plugins disabled? have you checked for cached JS in your browser? can you provide steps to recreate the error?
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…

Offline ge

  • Newbie
  • *
  • Posts: 4
Re: elastic Skin
« Reply #6 on: July 13, 2018, 06:35:25 PM »
Yeah, I've tried all of that. Disabled all of the plugins, cleared the cached, tried on a new browser but still have the same problem. I just login to roundcube and the go to send email or to settings, but the send/save button is disabled. Please is. attached screenshots.

I can't upload the screenshoots here because the attachment sizes are ridiculously low so I've uploaded them to my server and posted the links.




Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,058
Re: elastic Skin
« Reply #7 on: July 14, 2018, 02:20:22 AM »
I don't know what to tell you, it works fine for me. enable_checkbox_selection() is defined in program/js/list.js. I guess you need to put some debug into skins/elastic/ui.js and see if you can track down the cause of the error.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…