Commit 6fd749c4 authored by jan.koester's avatar jan.koester
Browse files

try it

parent ccd4d9fc
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -326,8 +326,11 @@ namespace blogi {

                try{
                    RenderUI(path,ndir,fileHtml);
                    if(page.getElementbyID("main"))
                        page.getElementbyID("main")->appendChild(fileHtml.parse());

                    libhtmlpp::HtmlElement *fel=fileHtml.parse();

                    if(page.getElementbyID("main") && fel)
                        page.getElementbyID("main")->appendChild(fel);

                }catch(libhtmlpp::HTMLException &e){
                    libhttppp::HTTPException ee;