Changeset 10423

Show
Ignore:
Timestamp:
10/22/10 17:39:03 (3 years ago)
Author:
p_lindheimer
Message:

cleanup some logic

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.7/sipstation/page.sipstation.php

    r10419 r10423  
    953953  var confirm_remove_key_del_trunks = "<?php echo _("This will delete the trunks from your configuration and you will no longer have access to your account unless you re-enter your key. Do you really want to continue and delete your trunks?")?>" 
    954954  $("#remove_key_del_trunks").click(function(){ 
    955     if (confirm(confirm_remove_key_del_trunks)) { 
    956       //$('#action').val('remove_all'); 
    957     } else { 
    958       return false; 
    959     } 
     955    return confirm(confirm_remove_key_del_trunks); 
    960956  }); 
    961957 
  • modules/branches/2.8/sipstation/page.sipstation.php

    r10420 r10423  
    953953  var confirm_remove_key_del_trunks = "<?php echo _("This will delete the trunks from your configuration and you will no longer have access to your account unless you re-enter your key. Do you really want to continue and delete your trunks?")?>" 
    954954  $("#remove_key_del_trunks").click(function(){ 
    955     if (confirm(confirm_remove_key_del_trunks)) { 
    956       //$('#action').val('remove_all'); 
    957     } else { 
    958       return false; 
    959     } 
     955    return confirm(confirm_remove_key_del_trunks); 
    960956  }); 
    961957