equal
deleted
inserted
replaced
304 }; |
304 }; |
305 |
305 |
306 Renkan.prototype.setSearchEngine = function(_key) { |
306 Renkan.prototype.setSearchEngine = function(_key) { |
307 this.search_engine = this.search_engines[_key]; |
307 this.search_engine = this.search_engines[_key]; |
308 this.$.find(".Rk-Search-Current").attr("class","Rk-Search-Current " + this.search_engine.getBgClass()); |
308 this.$.find(".Rk-Search-Current").attr("class","Rk-Search-Current " + this.search_engine.getBgClass()); |
|
309 var listClasses = this.search_engine.getBgClass().split(" "); |
|
310 var classes = ""; |
|
311 for (var i= 0; i < listClasses.length; i++) { |
|
312 classes += "." + listClasses[i]; |
|
313 } |
|
314 this.$.find(".Rk-Web-Search-Input.Rk-Search-Input").attr("placeholder", this.translate("Chercher dans ") + this.$.find(".Rk-Search-List "+ classes).html()); |
309 }; |
315 }; |
310 |
316 |
311 Renkan.prototype.resizeBins = function() { |
317 Renkan.prototype.resizeBins = function() { |
312 var _d = + this.$.find(".Rk-Bins-Head").outerHeight(); |
318 var _d = + this.$.find(".Rk-Bins-Head").outerHeight(); |
313 this.$.find(".Rk-Bin-Title:visible").each(function() { |
319 this.$.find(".Rk-Bin-Title:visible").each(function() { |