##// END OF EJS Templates
update rc/models.py to last version:...
update rc/models.py to last version: - monitor channel - cgs_status

File last commit:

r338:7377db7c77e8
r418:d19764ba5024 ver_3Julio
Show More
cancel.js
13 lines | 410 B | application/javascript | JavascriptLexer
(function($) {
'use strict';
$(function() {
$('.cancel-link').on('click', function(e) {
e.preventDefault();
if (window.location.search.indexOf('&_popup=1') === -1) {
window.history.back(); // Go back if not a popup.
} else {
window.close(); // Otherwise, close the popup.
}
});
});
})(django.jQuery);