Skip to content

JS_OBJECT_NAME not defined - #2

Open
marcelo-pvn wants to merge 16 commits into
HuidaeCho:masterfrom
dotplex:master
Open

JS_OBJECT_NAME not defined#2
marcelo-pvn wants to merge 16 commits into
HuidaeCho:masterfrom
dotplex:master

Conversation

@marcelo-pvn

@marcelo-pvn marcelo-pvn commented Nov 4, 2018

Copy link
Copy Markdown

First of all, I really apreciate your fixes...but my logs show me a notice on that file.

File: calendar/lib/calendar_ui.php
return html::div($attrib, html::div(null, $input->show()) . html::div('formbuttons', $button->show($this->rc->gettext('upload'), array('class' => 'button mainaction', 'onclick' => JS_OBJECT_NAME . ".upload_file(this.form)"))) . html::div('hint', $this->rc->gettext(array('name' => 'maxuploadsize', 'vars' => array('size' => $max_filesize)))) );

Just change the onclick' => JS_OBJECT_NAME to onclick' => rcmail_output::JS_OBJECT_NAME

Daniel Lange and others added 16 commits December 18, 2016 12:15
…be 1.4

Backported base commit 8ce594f23aa1 from machniak
I created this patch to solve [this issue](fasterit#14). Please feel free to commit it.
It will also be nice to have your plugin (the only one which is working on our current setup of Roundcube v1.3.7) published in the [Roundcube Plugins](https://plugins.roundcube.net/) web page.
Restore support for pre-provisioned calendars
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants