cockpit/js/ui.js in cpee-1.3.176 vs cockpit/js/ui.js in cpee-1.3.177
- old
+ new
@@ -1,10 +1,6 @@
$(document).ready(function() {
- if (!($.browser.name == "Firefox" && $.browser.version >= 20) && !($.browser.name == "Chrome" && $.browser.version >= 30)) {
- $('body').children().remove();
- $('body').append('Sorry, only Firefox >= 20.0 and Chrom(e|ium) >= 17 for now.');
- }
if (!($.cookie('cpee_iagree'))) {
var skip = false;
$('body').children().each(function(key,c){
if (skip) {
@@ -27,23 +23,10 @@
location.reload();
});
}
// Resize areas
- $('#detailcolumn').resizable({
- handles: { 'w' : '#handle2'},
- resize: function(event, ui) {
- if ($.browser.name == "Chrome") {
- $('#handle2').offset({ left: ui.helper.offset().left+3 });
- }
- }
- });
- $('#parameters .tabbelow').resizable({
- handles: { 's' : '#handle1'},
- resize: function(event, ui) {
- $('#parameters .tabbelow').css('width','');
- }
- });
+ $('#parameters .tabbelow').resizable();
});
// flexible parameter input
function remove_entry(target,foc) { //{{{