Oi.. another bug in the fix is now fixed.
This commit is contained in:
@@ -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);
|
||||||
};
|
};
|
||||||
*/
|
*/
|
||||||
}
|
|
||||||
});
|
});
|
||||||
Reference in New Issue
Block a user