Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 390 Rev 391
Línea 305... Línea 305...
305
                }
305
                }
306
            }
306
            }
307
        ],
307
        ],
308
    });
308
    });
309
    /**
309
    /**
-
 
310
     * Clicked edit question
-
 
311
     */
-
 
312
    $('body').on('click', 'button.btn-add-status', function(e) {
-
 
313
        e.preventDefault();
-
 
314
        objFormGenerator.editQuestion(
-
 
315
            $(this).data('section'),
-
 
316
            $(this).data('question'),
-
 
317
            true
-
 
318
        );
-
 
319
    });
-
 
320
    /**
-
 
321
     * Clicked edit question
-
 
322
     */
-
 
323
    $('body').on('click', 'button.btn-remove-status', function(e) {
-
 
324
        e.preventDefault();
-
 
325
        objFormGenerator.editQuestion(
-
 
326
            $(this).data('section'),
-
 
327
            $(this).data('question'),
-
 
328
            false
-
 
329
        );
-
 
330
    });
-
 
331
    /**
310
     * Clicked on edit form
332
     * Clicked on edit form
311
     */
333
     */
312
    $('body').on('click', 'button.btn-edit-form', function(e) {
334
    $('body').on('click', 'button.btn-edit-form', function(e) {
313
        e.preventDefault();
335
        e.preventDefault();
314
        form_id = $(this).data('id')
336
        form_id = $(this).data('id')
Línea 419... Línea 441...
419
     * Clicked refresh button
441
     * Clicked refresh button
420
     */
442
     */
421
    $('button.btn-refresh').click(function(e) {
443
    $('button.btn-refresh').click(function(e) {
422
        tableForm.fnDraw();
444
        tableForm.fnDraw();
423
    });
445
    });
424
    /**
-
 
425
     * Clicked edit question
-
 
426
     */
446
    
427
    $('body').on('click', 'button.btn-add-status', function(e) {
-
 
428
        e.preventDefault();
-
 
429
        objFormGenerator.editQuestion(
-
 
430
            $(this).data('section'),
-
 
431
            $(this).data('question'),
-
 
432
            true
-
 
433
        );
-
 
434
    });
-
 
435
    /**
-
 
436
     * Clicked edit question
-
 
437
     */
-
 
438
    $('body').on('click', 'button.btn-remove-status', function(e) {
-
 
439
        e.preventDefault();
-
 
440
        objFormGenerator.editQuestion(
-
 
441
            $(this).data('section'),
-
 
442
            $(this).data('question'),
-
 
443
            false
-
 
444
        );
-
 
445
    });
-
 
446
});
447
});
447
JS;
448
JS;
448
$this->inlineScript()->captureEnd();
449
$this->inlineScript()->captureEnd();
449
?>
450
?>