I am using Kendo version: "2016.1.112" . And google Chrome Version 50.0.2661.94 m
I am facing error .its console error Uncaught ReferenceError: $0 is not defined
it is referencing in below kendo script:
setTimeout(function(){
// just in case devtools opens as a result of "Inspect
// Element", make sure we update window.$K if necessary
if ($0) {
tools.inspectKendoWidget($0);
}
}, 300);
That issue is due the the KendoUI inspector Extension which you have in your chrome as extension. Either remove it or wait for an update from the Telerik team to fix their extension.
However that error should not have any impact on your application.
I disabled the inspector and the error has gone.
Go to extensions option menu and uncheck the inspector.
Related
I'm updating an old extension, passing from the old XUL code to html/css "chrome" code.
I have an issue with the "options_ui" tag in my .json file... if i load the extension using the current firefox version (46.0.1) i can't see the "options" button of the extension (as shown in about:addons).
But if i load it using the current developer version (48.0a2) it shows and works as espected.
Any suggestion of how can i fix this?, there must be a way to show the options button without using XUL code.
This is the section of options_ui in my json file:
"options_ui": {
"page": "html/options.htm" },
I have the same problem, here's what I found https://blog.mozilla.org/addons/2016/04/29/webextensions-in-firefox-48/ .
Seems that Firefox WebExtensions will be fully functional from v.48, that's why the Options button is so far only visible in the developer version of Firefox.
We are using Joomla 2.5
A client of mine has accidentally selected most of the menu and the submenus and changed the order by clicking one of the blue arrows, now the sub menu is not showing anymore.
I have tried to rebuild the menu
I have tried to clear cache (both mine and joomla)
I have tried to change the order
I have tried to go into the menu module and made sure show sub menu was configured on
Does anyone have any suggestions on how this could be fixed? Would be highly appreciated.
The website is n1golf.com and as you can see none of the menus drop down, and here is a screenshot of the ordering just in-case that might help: http://d3v9w2rcr4yc0o.cloudfront.net/uploads/stream/2013/01/35569/1d30c79df72549006fdb760569e31399.jpg
Kind regards
Usually the drop down is achieved with jQuery or CSS and to enable it you specify an extra CSS Class in the menu module. Check if there is one, then see your template's documentation to make sure it's the correct one.
Uncaught TypeError: Property '$' of object [object Window] is not a function golf-tuition:38
Uncaught TypeError: Property '$' of object [object Window] is not a function s5_flex_menu.js:79
You can see that there are a couple of errors in the chrome debug console. As you have both jquery and mootools on your page - so I'd suggest there may be some kind of jquery/mootools conflict going on. Although I'm not sure why it would only have been triggered now!
See my answer here on how to resolve it - but to sum it up:
disable the $ alias for jQuery completely as soon as you call the jquery library using
// Disable the $ global alias completely
jQuery.noConflict();
And then for jQuery scripts use
(function($){
// set a local $ variable only available in this block as an alias to jQuery
... here is your jQuery specific code ...
})(jQuery);
To be safe I'd also do the same sort of thing to your mootools scripts:
(function($){
// set a local $ variable only available in this block as an alias
// to Mootools document.id
... here is your Mootools specific code ...
})(document.id);
The fact you haven't had these issues before means I can't be sure about whether this is a jQuery/mootools conflict or not - but often errors with the $ symbol do suggest there is such a conflict!
Looks like the "Press to load more" option does not work on the latest version of Kendo Mobile UI (2012-q3). I tried it on a Galaxy Nexus and an iPod.
http://demos.kendoui.com/mobile/listview/press-to-load-more.html
Any ideas for a fix?
This was a bug, we fixed it and the fix will be available in the next internal build.
As a workaround, you can re-set the event handling on the button (init code taken from the demo):
var listview = $("#load-more").kendoMobileListView({
dataSource: dataSource,
template: $("#load-more-template").text(),
loadMore: true
}).data("kendoMobileListView");
listview._loadButton
.off("click.kendoMobileListView")
.on("touchend.kendoMobileListView click.kendoMobileListView", $.proxy(listview._nextPage, listview));
This will break the stopLoadMore method, so better get the update when its available.
I have tried using JQuery Tools 1.2.7 ajaxed tabs, but for some reason the first tab does not load by default. I have to click on any other tab then return to the first tab for it to be loaded and displayed.
Looking at their demo here:
http://jquerytools.org/demos/tabs/ajax-history.html
In the demo it's the same thing, I have to go to the second or third tab then when I return to the first tab it will be loaded, it doesn't get loaded when the page is being loaded...
In orther words I'm experiencing the same issue as this guy:
http://jquerytools.org/forum/tools/25/99227
Is there a solution to this?
I managed to resolve this issue by adding "$("div.css-panes > div").load('ajax1.htm')" to the "activate tabs with JavaScript" function:
$(function() {
$("ul.css-tabs").tabs(
"div.css-panes > div",
{effect: 'ajax', history: false}
);
$("div.css-panes > div").load('ajax1.htm');
});
in the jQuery Tools example (http://jquerytools.org/demos/tabs/ajax-history.htm).
In my local dev environment, any time I try to add a widget to a CMS page I get a javascript error: Result of expression 'el' [null] is not an object.
Does anyone know what might cause that?
Magento 1.5.1
Mac OS X 10.6.7
Apache 2.2.17
Safari 5.0.5 / Firefox 3.5.9
In Chrome 12.0.742.100, the error is:
The page at localhost.com says:
Cannot read property 'selectionStart' of null
Has anyone seen this before?
I have got the exact same error on a v1.5.1 CE Magento system when I choose to add via the large orange 'Add Widget' button to a static block or cms page.
However, when I add a widget via the WYSIWYG editor, the widget is added as expected and I do not receive the 'el null' error.
A strange bug that will hopefully be fixed in v1.6.