Skip to content

Commit

Permalink
fix styles and errors in prev commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Novik committed Jan 16, 2015
1 parent 6c7bbc0 commit b3aea02
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,11 @@ div#HDivider { width: 5px; height: 0px; padding: 0; margin: 0; cursor: e-resize;
div#VDivider { width: 100%; height: 5px; padding: 0; margin: 0; cursor: n-resize; }
div#dividerDrag { width: 5px; height: 5px; padding: 0; margin: 0; background: #A0A0A0; position: absolute; display: none }

div#stg {width: 600px; height: 400px; position: absolute; left: 0px; top: 50px; display: none; overflow: visible}
div#stg {width: 600px; height: 460px; position: absolute; left: 0px; top: 50px; display: none; overflow: visible}
div#stg_c {overflow: hidden}
div#stg-header { background-image: url(../images/settings.gif); }

div#stg .lm {width: 120px; height: 353px; margin: 5px; margin-right: 0; padding: 5px; float: left; position: relative; background-color: #FFFFFF; border: 1px solid #D0D0D0; overflow: auto}
div#stg .lm {width: 120px; height: 413px; margin: 5px; margin-right: 0; padding: 5px; float: left; position: relative; background-color: #FFFFFF; border: 1px solid #D0D0D0; overflow: auto}
.ie div#stg .lm {width: 125px; position: static;}
.ie9 div#stg .lm {position: static}
.ie div#stg {width: 605px;}
Expand All @@ -145,7 +145,7 @@ div.algnright {text-align: right; clear: right}
.lm li a {color: #000000; padding: 1px 2px}
.lm li a.focus {background-color: #E0E0E0}
.ie .lm li a {margin: 0 0 0 -5px; padding: 0}
.stg_con {float: right; position: relative; width: 450px; height: 340px; margin: 4px; background-color: #FAFAFA}
.stg_con {float: right; position: relative; width: 450px; height: 400px; margin: 4px; background-color: #FAFAFA}
.ie9 .stg_con {position: static}
fieldset {margin: 4px}
* > fieldset {border: 1px solid #D0D0D0; -moz-border-radius: 6px; -webkit-border-radius:6px; border-radius:6px;}
Expand Down
8 changes: 4 additions & 4 deletions js/plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,12 +173,12 @@ rPlugin.prototype.langLoaded = function()
this.markLoaded();
}

rPlugin.prototype.loadLangPrim = function(lang,sendNotify)
rPlugin.prototype.loadLangPrim = function(lang,template,sendNotify)
{
var self = this;
$.ajax(
{
url: this.path+"lang/"+lang+".js",
url: template.replace('{lang}',lang), // this is because plugin.path may be changed during call
dataType: "script",
cache: true
}).done( function()
Expand All @@ -188,13 +188,13 @@ rPlugin.prototype.loadLangPrim = function(lang,sendNotify)
{
(lang=='en') ?
console.error( "Plugin '"+self.name+"': localization for '"+lang+"' not found." ) :
self.loadlangPrim('en',sendNotify);
self.loadLangPrim('en',template,sendNotify);
});
}

rPlugin.prototype.loadLang = function(sendNotify)
{
this.loadLangPrim(GetActiveLanguage(),sendNotify);
this.loadLangPrim(GetActiveLanguage(),this.path+"lang/{lang}.js",sendNotify);
return(this);
}

Expand Down

0 comments on commit b3aea02

Please sign in to comment.