Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 1180 Rev 1181
Línea 555... Línea 555...
555
     */
555
     */
556
    $('body').on('click', 'button.btn-edit-behavior', function(e) {
556
    $('body').on('click', 'button.btn-edit-behavior', function(e) {
557
        e.preventDefault();
557
        e.preventDefault();
558
        var competency_id = $(this).data('competency');
558
        var competency_id = $(this).data('competency');
559
        var behavior_id = $(this).data('behavior');
559
        var behavior_id = $(this).data('behavior');
560
        behaviors.map((item) => {
560
        competencies_selected.map((item) => {
561
            if (item.competency_id == competency_id) {
561
            if (item.competency_id == competency_id) {
562
                item.behaviors.map((b) => {
562
                item.behaviors.map((b) => {
563
                    if (b.behavior_id == behavior_id) {
563
                    if (b.behavior_id == behavior_id) {
564
                        $('#form-behavior #behavior-id').val(item.behavior_id);
564
                        $('#form-behavior #behavior-id').val(item.behavior_id);
565
                        $('#form-behavior #behavior-competency').val(item.competency_id);
565
                        $('#form-behavior #behavior-competency').val(item.competency_id);
Línea 854... Línea 854...
854
      <div class="panel-body">
854
      <div class="panel-body">
855
         <div class="table-responsive">
855
         <div class="table-responsive">
856
            <table class="table table-bordered">
856
            <table class="table table-bordered">
857
               <thead>
857
               <thead>
858
                  <tr>
858
                  <tr>
859
                     <th style="width: 10%;">LABEL_ELEMENT</th>
859
                     <th style="width: 20%;">LABEL_ELEMENT</th>
860
                     <th style="width: 30%;">LABEL_TITLE</th>
860
                     <th style="width: 50%;">LABEL_TITLE</th>
861
                     <th style="width: 10%;">LABEL_LEVEL</th>
861
                     <th style="width: 10%;">LABEL_LEVEL</th>
862
                     <th style="width: 50%;">LABEL_ACTIONS</th>
862
                     <th style="width: 20%;">LABEL_ACTIONS</th>
863
                  </tr>
863
                  </tr>
864
               </thead>
864
               </thead>
865
               <tbody>
865
               <tbody>
866
                  <tr class="tr-section">
866
                  <tr class="tr-section">
867
                     <td class="text-left">LABEL_COMPETENCY</td>
867
                     <td class="text-left">LABEL_COMPETENCY</td>