Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 16456 | Rev 16458 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 16456 Rev 16457
Línea 146... Línea 146...
146
            'url' : '$routeOverview',
146
            'url' : '$routeOverview',
147
            'type' : 'get',
147
            'type' : 'get',
148
            'beforeSend': function (request) {
148
            'beforeSend': function (request) {
149
                NProgress.start();
149
                NProgress.start();
150
            },
150
            },
151
            // 'dataFilter': function(response) {
151
            'dataFilter': function(response) {
152
            //     var response = jQuery.parseJSON( response );
152
                var response = jQuery.parseJSON( response );
153
            //     var json                = {};
153
                var json                = {};
154
            //     json.recordsTotal       = 0;
154
                json.recordsTotal       = 0;
155
            //     json.recordsFiltered    = 0;
155
                json.recordsFiltered    = 0;
156
            //     json.data               = [];
156
                json.data               = [];
Línea 157... Línea 157...
157
                
157
                
158
            //     if(response.success) {
158
                if(response.success) {
159
            //         json.recordsTotal       = response.data.total;
159
                    json.recordsTotal       = response.data.total;
160
            //         json.recordsFiltered    = response.data.total;
160
                    json.recordsFiltered    = response.data.total;
Línea 161... Línea 161...
161
            //         json.data               = response.data;
161
                    json.data               = response.data;
162
 
162
 
163
            //         console.log(json.data);
163
                    console.log(json.data);
164
            //     } else {
164
                } else {
Línea 165... Línea 165...
165
            //         $.fn.showError(response.data)
165
                    $.fn.showError(response.data)
166
            //     }
-
 
167
                
-
 
168
            //     return JSON.stringify( json );
-
 
169
            // }
-
 
170
            'dataSrc': function (data) {
166
                }
171
                console.log(data);
167
                
172
                //return (data["value"]);
168
                return JSON.stringify( json );
173
            },
169
            }
174
        },
170
        },
175
        'drawCallback': function( settings ) {
171
        'drawCallback': function( settings ) {