Roundcube Community Forum

 

elastic Skin

Started by ge, July 05, 2018, 06:36:17 PM

Previous topic - Next topic

ge

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?

JohnDoh

Are there any JS errors in your browser console? try will all plugins disabled.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

ge

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]

JohnDoh

What version of rc are you running?
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

ge


JohnDoh

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...

ge

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.




JohnDoh

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...