Showing 3,486 of 3,486 total issues
Function onData
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
onData: function(opt, success, xhr){
if(success){
var events = this.getEvents(xhr);
for(var i = 0, len = events.length; i < len; i++){
var e = events[i],
Function prepareEdit
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
prepareEdit: function(groupId){
// reset the group form
this.create_group_form_panel.getForm().reset();
this.audience_panel.clear();
Function _createStoreAndDataView
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_createStoreAndDataView: function(){
this.store = new Ext.data.Store({
autoDestroy: true,
autoLoad: false,
autoSave: false,
Function Instance
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Ext.util.TextMetrics.Instance = function(bindTo, fixedWidth){
var ml = new Ext.Element(document.createElement('div'));
document.body.appendChild(ml.dom);
ml.position('absolute');
ml.setLeftTop(-1000, -1000);
Function initComponent
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
initComponent : function(){
this.showFunc = false;
this.toggleFunc = function() {
this.showFunc = !this.showFunc;
this.refreshNodes(this.currentObject);
Function constructor
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
constructor: function(config){
Ext.apply(this, config);
// Add flash msg at top and buttons at the bottom
var panel_items = [
Function onRender
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
onRender : function(ct, position){
this.el = new Ext.Layer({
shadow: this.shadow,
cls: "x-editor",
parentEl : ct,
Function createMonthPicker
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
createMonthPicker : function(){
if(!this.monthPicker.dom.firstChild){
var buf = ['<table border="0" cellspacing="0">'];
for(var i = 0; i < 6; i++){
buf.push(
Function initComponent
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
initComponent: function() {
var labels = [],
items = this.items,
item;
Function getTuples
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
getTuples: function() {
var newStore = new Ext.data.Store({});
newStore.data = this.store.data.clone();
newStore.fields = this.store.fields;
Function extend
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
extend : function(){
// inline overrides
var io = function(o){
for(var m in o){
this[m] = o[m];
Function extend
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
extend : function(){
// inline overrides
var io = function(o){
for(var m in o){
this[m] = o[m];
Function fireEvent
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
fireEvent : function(){
var a = Array.prototype.slice.call(arguments, 0),
ename = a[0].toLowerCase(),
me = this,
ret = TRUE,
Function removeAll
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
removeAll : function(el){
el = Ext.getDom(el);
var id = getId(el),
ec = Ext.elCache[id] || {},
es = ec.events || {},
Function getId
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function getId(el){
var id = false,
i = 0,
len = specialElCache.length,
skip = false,
Function extend
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
extend : function(){
// inline overrides
var io = function(o){
for(var m in o){
this[m] = o[m];
Function extend
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
extend : function(){
// inline overrides
var io = function(o){
for(var m in o){
this[m] = o[m];
Function extend
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
extend : function(){
// inline overrides
var io = function(o){
for(var m in o){
this[m] = o[m];
Function addPostsView
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
addPostsView: function(){
this.store = new Ext.data.JsonStore({
fields: ['id', 'name', 'content', 'poster_name', 'forum_name', 'poster_id', 'forum_id', {name: 'created_at', type: 'date'}, 'poster_avatar'],
restful: true,
url: '/forums/topics/recent_posts.json',
Function saveDashboard
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
saveDashboard: function(){
var params = {
columns: this.portal.columnCount,
config: this.portal.getConfig()
};