app/assets/javascripts/typus/jquery.application.js in typus-3.1.0.rc6 vs app/assets/javascripts/typus/jquery.application.js in typus-3.1.0.rc7
- old
+ new
@@ -10,18 +10,29 @@
'centerOnScroll': true,
'scrolling': false,
});
$(".iframe").fancybox({
- 'width': '75%',
- 'height': '100%',
+ 'width': 720,
+ 'height': '90%',
'autoScale': false,
'transitionIn': 'none',
'transitionOut': 'none',
'type': 'iframe',
'centerOnScroll': true,
'scrolling': false,
});
+
+ $(".action-toggle").click(function() {
+ var status = this.checked;
+ $('input.action-select').each(function() { this.checked = status; });
+ $('.action-toggle').each(function() { this.checked = status; });
+ });
+
+ if ($('textarea.ckeditor').length > 0) {
+ var data = $('textarea');
+ $.each(data, function(i) { CKEDITOR.replace(data[i].id); });
+ }
});
function setConfirmUnload(on) {
window.onbeforeunload = (on) ? unloadMessage : null;