|
Lines 26-31
String.prototype.escapeHtml = function() {
Link Here
|
| 26 |
return HtmlCharsToEscape[c] || c; |
26 |
return HtmlCharsToEscape[c] || c; |
| 27 |
}); |
27 |
}); |
| 28 |
}; |
28 |
}; |
|
|
29 |
function escape_str(s){ |
| 30 |
return s != null ? s.escapeHtml() : ""; |
| 31 |
} |
| 29 |
|
32 |
|
| 30 |
/* |
33 |
/* |
| 31 |
* Void method for numbers, for consistency |
34 |
* Void method for numbers, for consistency |
|
Lines 33-38
String.prototype.escapeHtml = function() {
Link Here
|
| 33 |
Number.prototype.escapeHtml = function() { |
36 |
Number.prototype.escapeHtml = function() { |
| 34 |
return this; |
37 |
return this; |
| 35 |
}; |
38 |
}; |
|
|
39 |
function escape_price(p){ |
| 40 |
return p != null ? p.escapeHtml().format_price() : ""; |
| 41 |
} |
| 36 |
|
42 |
|
| 37 |
// http://stackoverflow.com/questions/14859281/select-tab-by-name-in-jquery-ui-1-10-0/16550804#16550804 |
43 |
// http://stackoverflow.com/questions/14859281/select-tab-by-name-in-jquery-ui-1-10-0/16550804#16550804 |
| 38 |
$.fn.tabIndex = function () { |
44 |
$.fn.tabIndex = function () { |
| 39 |
- |
|
|