From 32763eaceea892bb0c7927656431967607fff15f Mon Sep 17 00:00:00 2001 From: coderaiser Date: Mon, 20 Aug 2012 07:48:16 -0400 Subject: [PATCH] added ie.js script thet fixes ie --- client.js | 50 ++++++++---------------------------- index.html | 3 +++ lib/client/editor.js | 2 +- lib/client/ie.js | 55 ++++++++++++++++++++++++++++++++++++++++ lib/client/keyBinding.js | 2 +- lib/client/menu.js | 46 ++++++++++++++++----------------- lib/client/viewer.js | 2 +- 7 files changed, 94 insertions(+), 66 deletions(-) create mode 100644 lib/client/ie.js diff --git a/client.js b/client.js index bb389e9e..00c3e0c3 100644 --- a/client.js +++ b/client.js @@ -127,7 +127,7 @@ CloudClient.Cache.clear = (function(){ }); /* Object contain additional system functional */ -CloudClient.Util = (function(){ +CloudClient.Utils = (function(){ /* * Function gets id by src * from http://domain.com/1.js to @@ -328,28 +328,12 @@ CloudClient.Util = (function(){ * все параметры опциональны */ - this.cssSet = (CloudCommander.OLD_BROWSER)? - /* if browser is old - make in diferen way */ - function(pParams_o){ - var lElement = ''; + return window.jQuery(lElement) + .appendTo(pParams_o.parent || document.head); + + }; + /* + {name: '', src: ' ',func: '', style: '', id: '', parent: '', + async: false, inner: 'id{color:red, }, class:'', not_append: false} + */ + this.cssSet = function(pParams_o){ + var lElement = '