Showing 3,486 of 3,486 total issues
Function rowselect
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
'rowselect': function(sm, row, record){
if(!this._fileGrid){
this._fileGrid = this.getPanel().getComponent('file_grid_holder').getComponent('file_grid');
}
if(!this._iconView){
Function _createUserSearchStore
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_createUserSearchStore: function(){
this.user_search_store = new Ext.data.JsonStore({
proxy: new Ext.data.HttpProxy({
url: '/search/show_clean.json',
api: {read: {url: '/search/show_clean.json', method:'POST'}}
Function execute
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
execute : function(action, rs, options, /* private */ batch) {
// blow up if action not Ext.data.CREATE, READ, UPDATE, DESTROY
if (!Ext.data.Api.isAction(action)) {
throw new Ext.data.Api.Error('execute', action);
}
Function encodeValue
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
encodeValue : function(v){
var enc,
flat = '',
i = 0,
len,
Function renderElements
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
renderElements : function(n, a, targetNode, bulkRender){
// add some indent caching, this helps performance when rendering a large tree
this.indentMarkup = n.parentNode ? n.parentNode.ui.getChildIndent() : '';
var cb = Ext.isBoolean(a.checked),
Function getErrors
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
getErrors: function(value) {
var errors = Ext.form.DateField.superclass.getErrors.apply(this, arguments);
value = this.formatDate(value || this.processValue(this.getRawValue()));
Function setVisible
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
setVisible : function(v, a, d, c, e){
if(v){
this.showAction();
}
if(a && v){
Function sync
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
sync : function(doShow){
var shadow = this.shadow;
if(!this.updating && this.isVisible() && (shadow || this.useShim)){
var shim = this.getShim(),
w = this.getWidth(),
Function onRender
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
onRender : function(ct, position){
var tpl = new Ext.Template(
'<div class="{cls}-wrap">',
'<div class="{cls}-inner">',
'<div class="{cls}-bar">',
Function renderHeaders
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
renderHeaders : function() {
var colModel = this.cm,
templates = this.templates,
headerTpl = templates.hcell,
properties = {},
Function constrainScroll
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
constrainScroll : function(y){
var max, full = this.ul.setHeight('auto').getHeight(),
returnY = y, normalY, parentEl, scrollTop, viewHeight;
if(this.floating){
parentEl = Ext.fly(this.el.dom.parentNode);
Function cb
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function cb(){
var me = this,
// bogus response object
r = {responseText : '',
responseXML : null,
Function initExtCss
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var initExtCss = function() {
// find the body element
var bd = document.body || document.getElementsByTagName('body')[0];
if (!bd) {
return false;
Function onreadystatechange
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var onreadystatechange = function(isTimeout){
// The transfer is complete and the data is available, or the request timed out
if ( !requestDone && xml && (xml.readyState == 4 || isTimeout == "timeout") ) {
requestDone = true;
Function trigger
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
trigger: function(type, data, elem, donative, extra) {
// Clone the incoming data, if any
data = jQuery.makeArray(data || []);
// Handle a global trigger
Function showTooltip
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
showTooltip: function(msg){
if (this.showToolTips !== true){
return;
}
var t = this.tooltip;
Function isPaging
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
isPaging: function (params) {
var pn = this.paramNames,
start = params[pn.start],
limit = params[pn.limit];
if ((typeof start != 'number') || (typeof limit != 'number')) {
Function FileUploaderBasic
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
qq.FileUploaderBasic = function(o){
this._options = {
// set to true to see the server response
debug: false,
action: '/server/upload',
Function _setupDragDrop
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_setupDragDrop: function(){
var self = this,
dropArea = this._find(this._element, 'drop');
var dz = new qq.UploadDropZone({
Method to_dsml
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def to_dsml(builder=nil)
builder=::Builder::XmlMarkup.new( :indent => 2) if builder.nil?
builder.dsml(:entry, :dn => dn) do |entry|
entry.dsml:objectclass do |oc|
ocv="oc-value".to_sym