Changeset 9653

Show
Ignore:
Timestamp:
05/20/10 11:50:00 (3 years ago)
Author:
p_lindheimer
Message:

fixes #4196 don't use toggleval plugin on configured fields so they can be edited, copied, etc.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.8/core/agi-bin/user_login_out.agi

    r9507 r9653  
    551551 
    552552          case 'No Members': 
    553             debug("Queue $inqueue has noone logged in"); 
     553            debug("Queue $inqueue has no one logged in"); 
    554554            $inqueue='false'; 
    555555            break; 
  • modules/branches/2.8/core/core.css

    r9240 r9653  
    88  color: inherit; 
    99} 
    10 .text-red { 
    11   color: red; 
    12 } 
    1310div.dialpatterns { 
    1411  max-height: 15em;  
  • modules/branches/2.8/core/page.routing.php

    r9523 r9653  
    697697    focusClass: "text-normal" 
    698698  }); 
    699   $(".dpt-value").toggleVal({ 
    700     changedClass: "text-red" 
    701   }); 
    702699});  
    703700 
     
    735732    focusClass: "text-normal" 
    736733  }); 
    737   if (pattern_pass != '' || pattern_prefix != '' || prepend_digit != '' || match_cid != '') { 
    738     new_insert.find(".dpt-value").toggleVal({ 
    739       changedClass: "text-red" 
    740     }); 
    741   } 
    742734 
    743735  return idx; 
     
    817809  defaultEmptyOK = false; 
    818810 
    819   $(".toggleval").each(function() { 
     811  $(".dpt-title, .dpt-value").each(function() { 
    820812    if ($.trim($(this).val()) == '') { 
    821813    } else if (!isDialpattern($(this).val())) { 
  • modules/branches/2.8/core/page.trunks.php

    r9406 r9653  
    843843    focusClass: "text-normal" 
    844844  }); 
    845   $(".dpt-value").toggleVal({ 
    846     changedClass: "text-red" 
    847   }); 
    848845});  
    849846 
     
    878875    focusClass: "text-normal" 
    879876  }); 
    880   if (pattern_pass != '' || pattern_prefix != '' || prepend_digit != '') { 
    881     new_insert.find(".dpt-value").toggleVal({ 
    882       changedClass: "text-red" 
    883     }); 
    884   } 
    885877 
    886878  return idx; 
     
    898890function clearAllPatterns() { 
    899891  $(".dpt-value").addClass('dpt-title').removeClass('dpt-value'); 
    900   $(".toggleval").each(function() { 
     892  $(".dpt-title").each(function() { 
    901893    $(this).val(""); 
    902894  });