edManager = { options: { INPUT_SUFFIX: "____VIEW" }, getViewByID: function(sID) { if (this.edViews.length > 0) { var oView = this.edViews.get(sID); if (oView) { return oView.get("view"); } else { oView = this.edViews.get(sID + this.options.INPUT_SUFFIX); if (oView) { return oView.get("view"); } else { return null; } } } else { return null; } }, getGroupByID: function(sID) { if (this.edGroups.length > 0) { var oGroup = this.edGroups.get(sID); if (oGroup) return oGroup.get("group"); else return null; } else { return null; } }, registerView: function(view, edHtml) { this.edViews.remove(view.id); this.edViews.add({edHtml: $(this), view: view, id: view.id}); }, unRegisterView: function(view) { this.edViews.remove(view.id); }, unRegisterViewByID: function(viewId) { this.edViews.remove(viewId); }, createEdViewsFromHTML: function(viewToSearchIn) { var edSelector; this.suspendEdInputTagTimer(); if (typeof viewToSearchIn === "undefined") { selector = $(document); } else { selector = viewToSearchIn.$el; } //for(var j=0; j 0) { if (!edSelector) { edSelector = tempSelector; } else { for(var k=0; k