Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 15407 Rev 15408
Línea 66... Línea 66...
66
$status_active = JobDescription::STATUS_ACTIVE;
66
$status_active = JobDescription::STATUS_ACTIVE;
Línea 67... Línea 67...
67
 
67
 
68
$this->inlineScript()->captureStart();
68
$this->inlineScript()->captureStart();
Línea 69... Línea -...
69
echo <<<JS
-
 
70
 
-
 
71
const ckeditor_config = {
-
 
72
        toolbar: [
-
 
73
            { name: 'editing', items: [ 'Scayt' ] },
-
 
74
            { name: 'links', items: [ 'Link', 'Unlink'] },
-
 
75
            { name: 'paragraph', items: [ 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', 'Blockquote' ] },
-
 
76
            { name: 'basicstyles', items: [ 'Bold', 'Italic', 'Strike', 'RemoveFormat' ] },
-
 
77
            '/',
-
 
78
            { name: 'insert', items: [ 'Image', 'Table', 'HorizontalRule', 'SpecialChar' ] },
-
 
79
            { name: 'styles', items: [ 'Styles', 'Format' ] },
-
 
80
            { name: 'tools', items: [ 'Maximize' ] }
-
 
81
        ],
-
 
82
        removePlugins: 'elementspath,Anchor',
-
 
83
        heigth: 100
69
echo <<<JS
84
    }
70
 
85
var competencies = [];
71
var competencies = [];
86
var competencies_type = [];
72
var competencies_type = [];
87
var subordinates = [];
73
var subordinates = [];
Línea 435... Línea 421...
435
        'off': 'LABEL_INACTIVE',
421
        'off': 'LABEL_INACTIVE',
436
        'width': '160px',
422
        'width': '160px',
437
        'height': '40px'
423
        'height': '40px'
438
    });
424
    });
Línea 439... Línea 425...
439
 
425
 
440
    CKEDITOR.replace('functions', {
-
 
441
        toolbar: [
-
 
442
            { name: 'editing', items: [ 'Scayt' ] },
-
 
443
            { name: 'links', items: [ 'Link', 'Unlink'] },
-
 
444
            { name: 'paragraph', items: [ 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', 'Blockquote' ] },
-
 
445
            { name: 'basicstyles', items: [ 'Bold', 'Italic', 'Strike', 'RemoveFormat' ] },
-
 
446
            '/',
-
 
447
            { name: 'insert', items: [ 'Image', 'Table', 'HorizontalRule', 'SpecialChar' ] },
-
 
448
            { name: 'styles', items: [ 'Styles', 'Format' ] },
-
 
449
            { name: 'tools', items: [ 'Maximize' ] }
-
 
450
        ],
-
 
451
        removePlugins: 'elementspath,Anchor',
-
 
452
        heigth: 100
-
 
453
    });
426
    CKEDITOR.replace('functions');
454
    CKEDITOR.replace('objectives', {
-
 
455
        toolbar: [
-
 
456
            { name: 'editing', items: [ 'Scayt' ] },
-
 
457
            { name: 'links', items: [ 'Link', 'Unlink'] },
-
 
458
            { name: 'paragraph', items: [ 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', 'Blockquote' ] },
-
 
459
            { name: 'basicstyles', items: [ 'Bold', 'Italic', 'Strike', 'RemoveFormat' ] },
-
 
460
            '/',
-
 
461
            { name: 'insert', items: [ 'Image', 'Table', 'HorizontalRule', 'SpecialChar' ] },
-
 
462
            { name: 'styles', items: [ 'Styles', 'Format' ] },
-
 
463
            { name: 'tools', items: [ 'Maximize' ] }
-
 
464
        ],
-
 
465
        removePlugins: 'elementspath,Anchor',
-
 
466
        heigth: 100
-
 
467
    });
427
    CKEDITOR.replace('objectives');
468
    /**
428
    /**
469
     * Clicked select competency
429
     * Clicked select competency
470
     */
430
     */
471
    $('body').on('click', 'button[id="btn-select-competency"]', function(e) {
431
    $('body').on('click', 'button[id="btn-select-competency"]', function(e) {