|
Lines 6-11
$(document).ready(function(){
Link Here
|
| 6 |
message_prefs_dirty = true; |
6 |
message_prefs_dirty = true; |
| 7 |
}); |
7 |
}); |
| 8 |
|
8 |
|
|
|
9 |
if ( window.location.href.indexOf("op=add") === -1 ) { |
| 10 |
message_prefs_dirty = true; // unless op=add consider the message prefs dirty |
| 11 |
} |
| 12 |
|
| 9 |
if( $("#messaging_prefs_loading").length ){ // This element only appears in the template if op=add |
13 |
if( $("#messaging_prefs_loading").length ){ // This element only appears in the template if op=add |
| 10 |
$('#categorycode_entry').change(function() { |
14 |
$('#categorycode_entry').change(function() { |
| 11 |
var messaging_prefs_loading = $("#messaging_prefs_loading"); |
15 |
var messaging_prefs_loading = $("#messaging_prefs_loading"); |
| 12 |
- |
|
|