Oi.. another bug in the fix is now fixed.

This commit is contained in:
Wynne Crisman
2016-05-06 18:22:34 -07:00
parent 5dc1665610
commit e696975f88

View File

@@ -11,13 +11,9 @@ $(document).ready(function($) {
var contentDiv = $('#content'); var contentDiv = $('#content');
//var viewName = "main-view"; //var viewName = "main-view";
//var view = $('[bs-view="' + viewName + '"]'); //var view = $('[bs-view="' + viewName + '"]');
if(!content || content.length != 1) { //if(!view || view.length != 1) {
throw "Content div not found";
}
//else if(!view || view.length != 1) {
// throw "View with name: '" + viewName + "' not found"; // throw "View with name: '" + viewName + "' not found";
//} //}
else {
//var layoutManager = new LayoutManager("main-view"); //var layoutManager = new LayoutManager("main-view");
var layoutManager = new LayoutManager(contentDiv); var layoutManager = new LayoutManager(contentDiv);
@@ -55,5 +51,4 @@ $(document).ready(function($) {
console.log('Server: ' + message); console.log('Server: ' + message);
}; };
*/ */
}
}); });