[Pkg-mozext-commits] [wot] 204/226: Fixed the issue with long dash; Updated version to 20140317
David Prévot
taffit at moszumanska.debian.org
Fri May 1 00:35:52 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository wot.
commit 3374b5da57dc0559cbdc6f0ea1ba1cba5df82908
Author: Sergey Andryukhin <sorgoz at yandex.com>
Date: Mon Mar 17 15:08:34 2014 +0200
Fixed the issue with long dash; Updated version to 20140317
---
content/config.js | 2 +-
content/rw/ratingwindow.js | 8 ++++----
content/rw/wot.js | 2 +-
install.rdf.template | 4 ++--
4 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/content/config.js b/content/config.js
index a405a06..a59628f 100644
--- a/content/config.js
+++ b/content/config.js
@@ -19,7 +19,7 @@
*/
const WOT_PLATFORM = "firefox";
-const WOT_VERSION = "20140113";
+const WOT_VERSION = "20140317";
/*
* Constants
diff --git a/content/rw/ratingwindow.js b/content/rw/ratingwindow.js
index d574ffb..4c0c1b1 100644
--- a/content/rw/ratingwindow.js
+++ b/content/rw/ratingwindow.js
@@ -1159,7 +1159,7 @@ $.extend(wot, { ratingwindow: {
items: 4,
show: wot.ratingwindow.wg.show_tagautocomplete
})
- .get(0).addEventListener("paste", _rw.comments.on_paste, false); // overload the paste event
+ .get(0).addEventListener("paste", _rw.comments.on_paste, false); // overload the paste event
// Rate mode event handlers
$("#btn-comment").unbind("click").bind("click", _rw.on_comment_button);
@@ -2576,7 +2576,7 @@ $.extend(wot, { ratingwindow: {
if (len > 0 && len < min_len) {
errors.push({
- text: String(len - min_len).replace("-", "– "), // readability is our everything
+ text: String(len - min_len).replace("-", "– "), // readability is our everything
cls: "error min"
});
} else if (len > max_len) {
@@ -2590,7 +2590,7 @@ $.extend(wot, { ratingwindow: {
if (is_wg_mode && len > 0) {
if (tags_num < _this.MIN_TAGS) {
errors.push({
- text: "– " + String(_this.MIN_TAGS - tags_num) + " #",
+ text: "– " + String(_this.MIN_TAGS - tags_num) + " #",
cls: "error min"
});
} else if (tags_num > _this.MAX_TAGS) {
@@ -2602,7 +2602,7 @@ $.extend(wot, { ratingwindow: {
}
var err_to_show = errors.slice(-1)[0]; // take the last error to show
- $_hint.attr("class", err_to_show.cls).text(err_to_show.text);
+ $_hint.attr("class", err_to_show.cls).html(err_to_show.text);
},
update_button: function (mode, enabled) {
diff --git a/content/rw/wot.js b/content/rw/wot.js
index fa84112..13a5f97 100644
--- a/content/rw/wot.js
+++ b/content/rw/wot.js
@@ -19,7 +19,7 @@
*/
var wot = {
- version: 20140311,
+ version: 20140317,
platform: "firefox",
locale: "en", // cached value of the locale
lang: "en-US", // cached value of the lang
diff --git a/install.rdf.template b/install.rdf.template
index be3c71f..5bedf49 100644
--- a/install.rdf.template
+++ b/install.rdf.template
@@ -16,8 +16,8 @@
<Description>
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
<em:minVersion>14.0</em:minVersion>
- <em:maxVersion>27.0</em:maxVersion>
+ <em:maxVersion>31.0</em:maxVersion>
</Description>
- </em:targetApplication>
+ </em:targetApplication>
</Description>
</RDF>
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/wot.git
More information about the Pkg-mozext-commits
mailing list