src/cm/media/js/site/text_edit.js
changeset 171 65ca39d21b4d
parent 106 36165e7cd1f0
child 174 805b9195c511
equal deleted inserted replaced
163:c3329d4d6ef5 171:65ca39d21b4d
     2     needToConfirm = false;
     2     needToConfirm = false;
     3 
     3 
     4     var newVersion = $('#id_new_version').attr('checked') ;
     4     var newVersion = $('#id_new_version').attr('checked') ;
     5     var commentsKept = $('#id_keep_comments').attr('checked') ;
     5     var commentsKept = $('#id_keep_comments').attr('checked') ;
     6 
     6 
     7     var new_content = $('#id_content').val()
     7     var new_content = $('#id_content').val() ;
     8     var new_format = $('#id_format').val()
     8     var new_format = $('#id_format').val() ;
     9     var mess = gettext( 'Should these comments be detached (i.e. kept with no scope) or removed from new version?') ;
     9     var mess = gettext( 'Should these comments be detached (i.e. kept with no scope) or removed from new version?') ;
    10 
    10 
    11     if (commentsKept) {
    11     if (commentsKept) {
    12         var pre_edit_url = tb_conf['pre_edit_url'] ;
    12         var pre_edit_url = tb_conf['pre_edit_url'] ;
    13 
    13