Changeset 7341

Show
Ignore:
Timestamp:
01/06/09 11:36:02 (2 years ago)
Author:
mickecarlsson
Message:

Closes #3462, put double quote in javascript so that languages with single quote in text does not interfere with code

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/branches/2.5/amp_conf/htdocs/admin/views/freepbx_reload.php

    r7222 r7341  
    6969                                                                                                 
    7070                                                        if (data.num_errors) { 
    71                                                                 responsetext += '<p>' + data.num_errors + ' <?php echo _(' error(s) occured, you should view the notification log on the dashboard or main screen to check for more details.'); ?> ' + "<\/p>"; 
     71                                                                responsetext += '<p>' + data.num_errors + " <?php echo _(" error(s) occured, you should view the notification log on the dashboard or main screen to check for more details."); ?> " + "<\/p>"; 
    7272                                                        } 
    7373                                                 
     
    8686                                        error: function(reqObj, status) { 
    8787                                                $('#reload_response').html( 
    88                                                         '<p><?php echo _('Error: Did not receive valid response from server'); ?>' + "<\/p>" +  
     88                                                        '<p>' + "<?php echo _("Error: Did not receive valid response from server"); ?>" + "<\/p>" +  
    8989                                                        '<div class="buttons"><a id="reload_response_close_btn" href="#" onclick="freepbx_stop_reload();"><img src="images/cancel.png" height="16" width="16" border="0" alt="<?php echo _('Close'); ?>" />&nbsp;<?php echo _('Close'); ?>' + "<\/a><\/div>" 
    9090                                                );