dianping/cat · error · Error
{containerName} not found. Have you included corresponding j
Error message
{containerName} not found. Have you included corresponding js file? What it means
Error "{containerName} not found. Have you included corresponding js file?" thrown in dianping/cat.
Source
Thrown at cat-home/src/main/webapp/assets/js/uncompressed/x-editable/bootstrap-editable.js:1000
return;
}
}
//close all open containers (except one - target)
Popup.prototype.closeOthers(e.target);
});
$(document).data('editable-handlers-attached', true);
}
},
//split options on containerOptions and formOptions
splitOptions: function() {
this.containerOptions = {};
this.formOptions = {};
if(!$.fn[this.containerName]) {
throw new Error(this.containerName + ' not found. Have you included corresponding js file?');
}
//keys defined in container defaults go to container, others go to form
for(var k in this.options) {
if(k in this.defaults) {
this.containerOptions[k] = this.options[k];
} else {
this.formOptions[k] = this.options[k];
}
}
},
/*
Returns jquery object of container
@method tip()
*/
tip: function() {
return this.container() ? this.container().$tip : null;View on GitHub (pinned to e815e74d4c)
Solutions
- Include the JavaScript file for the requested input container (e.g. the date or wysihtml5 editable plugin).
- Check the input type name for typos against the registered editable containers.
When it happens
Trigger: Triggered when x-editable is asked to use a container (e.g. 'popover' or 'tooltip') whose JavaScript plugin has not been included on the page.
Common situations: See trigger scenarios.
AI-assisted analysis of dianping/cat@e815e74d4c (2026-08-14).
Data as JSON: /api/errors/e88fe7c63c4c0911.
Report an issue: GitHub.