Skip to content
Snippets Groups Projects
Commit be3dc11a authored by Peter Rotich's avatar Peter Rotich Committed by GitHub
Browse files

Merge pull request #3424 from JediKev/issue/v1.6-upgrade

upgrader: Fix undefined function
parents d93531d6 f658c867
No related branches found
No related tags found
No related merge requests found
......@@ -27,6 +27,13 @@ jQuery(function($) {
});
function autoUpgrade(url, data) {
if (!$.isFunction('__')) {
function __(s) {
return s;
}
}
function _lp(count) {
$.ajax({
type: 'POST',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment