added debug mode, fixed panel rendering

This commit is contained in:
Peter Schojer
2008-06-25 07:36:39 +00:00
parent c5a222e8ba
commit 39a77169d3
6 changed files with 34435 additions and 3 deletions

View File

@@ -138,9 +138,12 @@ void Utility::initialize(ResourceManager::Ptr ptr, const Poco::Path& extJSDir)
{
Poco::Path aDir(extJSDir);
aDir.makeDirectory();
ptr->appendJSInclude(Poco::Path(aDir, "ext-base.js"));
#ifdef _DEBUG
ptr->appendJSInclude(Poco::Path(aDir, "ext-all-debug.js"));
#else
ptr->appendJSInclude(Poco::Path(aDir, "ext-all.js"));
#endif
ptr->appendJSInclude(Poco::Path(aDir, "DDView.js"));
ptr->appendJSInclude(Poco::Path(aDir, "Multiselect.js"));