fixed css include

This commit is contained in:
Peter Schojer
2008-06-05 10:00:14 +00:00
parent 5941524877
commit c7a3b3499d

View File

@@ -138,20 +138,17 @@ void Utility::initialize(ResourceManager::Ptr ptr, const Poco::Path& extJSDir)
{
Poco::Path aDir(extJSDir);
aDir.makeDirectory();
aDir.setFileName("ext-base.js");
ptr->appendJSInclude(aDir);
aDir.setFileName("ext-all.js");
ptr->appendJSInclude(aDir);
aDir.setFileName("DDView.js");
ptr->appendJSInclude(aDir);
aDir.setFileName("MultiSelect.js");
ptr->appendJSInclude(aDir);
ptr->appendJSInclude(Poco::Path(aDir, "ext-base.js"));
ptr->appendJSInclude(Poco::Path(aDir, "ext-all.js"));
ptr->appendJSInclude(Poco::Path(aDir, "DDView.js"));
ptr->appendJSInclude(Poco::Path(aDir, "MultiSelect.js"));
Poco::Path cssAll("resources/css/ext-all.css");
cssAll.makeFile();
ptr->appendCSSInclude(Poco::Path(extJSDir, cssAll));
ptr->appendCSSInclude(Poco::Path(extJSDir, "MultiSelect.css"));
ptr->appendCSSInclude(Poco::Path(aDir, cssAll));
ptr->appendCSSInclude(Poco::Path(aDir, "MultiSelect.css"));
}