[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
www.dhtmlgoodies.com • View topic - 2 small bugs
Advertisement

2 small bugs

Moderator: Calcifer

2 small bugs

Postby jmdavid » Sat Mar 10, 2007 6:56 pm

There is a bug in function displayTooltip when defining custom wait message

if(this.waitMessage)this.dynContentObj.setWaitMessage(this.waitMessage);
instead of:
if(this.waitMessage)this.dynContentObj.setWaitMessag(ajaxWaitMessage);

There is a bug when including only dhtmlSuite-common.js and dynamically including calendar (DHTMLSuite.include('calendar'))

I get the following error in firebug: DHTMLSuite.calendarModel is not a constructor; I have no problem when including the big file (dhtml-suite-for-applications.js)
jmdavid
 
Posts: 9
Joined: Fri Jun 09, 2006 6:00 pm

Postby Batalf » Sat Mar 10, 2007 7:08 pm

Hi David,

I have fixed the first bug you report. It will be available in the next patch.

The calendar problem.
--------------------------------
It looks to me like the

DHTML_SUITE_JS_FOLDER

variable is set incorrectly. It specifies the path to the "separateFiles" folder from your HTML files.

For more info, please see:
http://www.dhtmlgoodies.com/index.html? ... te-include
http://www.dhtmlgoodies.com/index.html? ... -variables
Batalf
Site Admin
 
Posts: 2160
Joined: Sat Oct 22, 2005 9:38 pm

not folder problem

Postby jmdavid » Sat Mar 10, 2007 7:27 pm

Hi,

it is not a folder problem because I include other files without problem:

DHTMLSuite.include('menuBar');
DHTMLSuite.include('tableWidget');
DHTMLSuite.include('tabView');
DHTMLSuite.include('calendar');

The page renders the menu correctly, so I think DHTML_SUITE_JS_FOLDER is not the problem.
jmdavid
 
Posts: 9
Joined: Fri Jun 09, 2006 6:00 pm

Postby Batalf » Sat Mar 10, 2007 11:17 pm

Batalf
Site Admin
 
Posts: 2160
Joined: Sat Oct 22, 2005 9:38 pm

Postby jmdavid » Mon Mar 12, 2007 2:46 pm

Maybe it's because I use Zend Framework as well.
Here is my Apache config for mod_rewrite:

<Location /intranet>
RewriteEngine on
RewriteBase /intranet/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /intranet/index.php [L]
</Location>

In my script:
...
var DHTML_SUITE_JS_FOLDER = '/intranet/js/separateFiles/';
...
<script type='text/javascript/ src='/intranet/js/separateFiles/dhtmlSuite-common.js'></script>

...
DHTMLSuite.include('calendar');
DHTMLSuite.include('menuBar');
...

The menu is rendered perfectly (so second include works!), I get error "DHTMLSuite.calendarModel is not a constructor" in Firebug.

As said, including dhtml-suite-for-applications.js works well.

Thank you.
jmdavid
 
Posts: 9
Joined: Fri Jun 09, 2006 6:00 pm

Postby Batalf » Mon Mar 12, 2007 4:16 pm

Batalf
Site Admin
 
Posts: 2160
Joined: Sat Oct 22, 2005 9:38 pm


Return to Suggest new features/widgets for the DHTML Suite

Who is online

Users browsing this forum: No registered users and 0 guests

cron