@@ -13,7 +13,13 @@ function content_lock_admin_settings() {
'#description'=>t('If you disable this, there will be no messages like “Do you really want to leave this node and lose all changes? The lock will be removed if you proceed.”. Also, disabling this will cause nodes to remain locked if the user avoids saving the node and does not use the cancel button (i.e., by clicking a menu link to navigate away from a node-edit page).'),
drupal_add_js(array('content_lock'=>array('nid'=>$form['#node']->nid,'ajax_key'=>$lock->ajax_key,'unload_js_message'=>variable_get('content_lock_unload_js_message','If you proceed, ALL of your changes will be lost.'))),'setting');