My local host (http://localhost:8080/) is working fine with Internet Explorer 11 (IE11) version. But context root (http://localhost:8080/context-root) is not working in IE11??
While opening the product through IE11 the http://localhost:8080/context-root, its not showing any page, it's simply showing blank page. In that there is showing below two errors
SCRIPT5007: Unable to get property 'extend' of undefined or null reference
File: context.js, Line: 20561, Column: 1
Context.component.SectionView.extend().named("Admin.navigators.Administration.Roles").reopen({classNameBindings:["working"],working:function(){var loadState=this.get("model.loadState")
if(!loadState){return true}if(loadState!=="loaded"&&loadState!=="error"){return true}return false}.property("model.loadState"),model:function(){return Context.model.SimpleResultSet.create({fetch:function(){return Admin.rolesService.request().send()},sortBy:"name",insensitive:true})}.property(),pagination:function(){return Ember.Object.extend(Ember.ActionHandler,{view:this,contentPageStart:0,contentPageLengthBinding:"Context.model.resultsConfig.resultsPerPage",resultSetBinding:"view.model",_actions:{setPage:function(page){this.set("contentPageStart",page.start)}}}).create()}.property(),headerViews:[Context.component.PrimaryTile.extend({direction:"row",classNames:["view-selector"],controllerBinding:"parentView.pagination",contains:[Ember.View.extend({classNames:["spacer"]}),Context.component.Pager,Ember.View.extend({classNames:["spacer"]})]})],attachPublishAction:function(){this.set("controller.publishAction",{view:this,method:"reload"})}.on("didInsertElement"),detachPublishAction:function(){if(this.get("controller.publishAction.view")===this){this.set("controller.publishAction",null)}}.on("willDestroyElement"),reload:function(){return this.get("model").reload()},loadModel:function(){return this.get("model").reload()}.on("init"),scrollable:"scrollable-tile always-y",bodyView:Context.component.ObjectTable.extend().named("Admin.RolesView").reopen({controllerBinding:"parentView.pagination",modelBinding:"controller.resultSet",displayStartBinding:"controller.contentPageStart",displayLengthBinding:"controller.contentPageLength",hasHeader:true,paginated:true,leadingColumns:[{type:"itemNumber",inspect:false,reload:true}],trailingColumns:[],columns:[{name:"name",label:"Role"},{name:"description",label:"Description"}],getColumnView:function(column){if(column.type==="itemNumber"){return Context.view.Activity.ItemNumberView}if(column.name==="name"){return this.constructor.RoleNameColumn}return Context.view.Activity.GenericDataView},getHeaderView:function(column){if(column.type==="itemNumber"){return Context.component.ObjectTable.ItemNumberHeader.extend({click:function(){this.get("controller").send("publish")}})}return Context.view.Activity.GenericHeaderView},clickRow:function(event,role){console.warn("Role inspect: Not implemented")
return false}}).reopenClass({RoleNameColumn:Ember.ContainerView.extend({tagName:"td",childViews:[Admin.AutoActionsMenuButton.extend({menuContext:function(){return{roleObject:this.get("parentView.rowView.object")}}.property("parentView.rowView.object"),actionsBase:"Context:admin:role"}),Ember.View.extend({tagName:"span",template:Ember.Handlebars.compile("")})]})})}).reopenClass({linkable:true,getGlobalActionMenuModel:function(){var model=Context.model.Menu.extend({content:[Context.model.Menu.Item.create({label:"Create Role",icon:["duplicate","add_overlay"],invoke:function(){return new Promise(function(resolve,reject){var dlg=Admin.CreateRoleDialog.create({menuContext:Context.Action.Context.create()}).dialogShow().done(function(state){var data=Context.pivot(state.data)
var name=data.name[0]
data=Context.pivot(data)
Context.services({service:"admin/roles",type:"post",json:true,data:state.data}).done(function(result){resolve(result)
Context.notify({title:"Role created",message:'Role "'+result.name+" created"})
dlg.dialogClose()}.bind(this)).fail(function(xhr,status,reason){reject(reason||status)}).always(function(){Admin.getController().send("publish")}).fail(function(xhr,status,reason){Context.Error.show(reason||status)
dlg.dialogClose()})}).fail(function(){resolve()
dlg.dialogClose()})})}})]}).create()
model.set("loadState","loaded")
return model}})
Please help me on this. Thanks in advance. Its working fine with chrome and Mozilla.
Aucun commentaire:
Enregistrer un commentaire