Help!!! I lost my add Blocks - Clipboard - Stacks tools..What happends????? -2

Permalink
This happen without a warning, and without no reason. I do the same as i have done on a around 100 pages everything goes fine..and pjuuuuuu...my Block-clipboard-stack menu in left side is gone...

Try edit my page in Edge instead of Chrome and Fierfox.... First time i open for edit, click on block tools... the blocks viwed normal like this:http://goto-norway.no/concreteerror/edge-blocks.jpg...

Then i click on Clipboard and its open normal like this:http://goto-norway.no/concreteerror/edge-clipboard-and-no-stacks.jp...

BUT..if i now click on Stacks.....it goes two second and it goes back to Blocks again...i cant open stacks..

Next step i try: Clik on my page in a ØLayoutfield and get the popuptool like this...http://goto-norway.no/concreteerror/ad-block-from-pop-up-tool.jpg

THEN...all is black...no tools be viewed..its black..gone..like this:http://goto-norway.no/concreteerror/ad-block-from-pop-up-tool-2-aft...

And now after that happend.... even what i try the left toolfield for blocks-clipboard-stacks is all black and my tools is gone!!!!!!!!!!

Falconova
 
Falconova replied on at Permalink Reply
Falconova
I cannot longer edit my page... nothing works for my edit tools!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi entrenova,

Are there any errors in your browser console?
Falconova replied on at Permalink Reply
Falconova
Error in what console??? What happend is just what i describe... and the same happen in every browsers..chrome..edge..opera..fierfox...and after it happend... i have no more edit tools in left side...checked now...and i cannot edit my page anymore.. and i have do the same i do when making all the pages before :-((((((((
MrKDilkington replied on at Permalink Reply
MrKDilkington
@entrenova

Browsers have a console feature that allows for working with JavaScript and viewing JavaScript errors. In Edge, you can use the F12 keyboard shortcut to open the console.
https://dev.windows.com/en-us/microsoft-edge/platform/documentation/...
Falconova replied on at Permalink Reply
Falconova
Oki:-) I have deleted my page and database and start all over again..pjuuuuuuuuuuuuu.... but if it is a jequery conflict..how can that be?? Isnt all themes and addons checked to function with concrete before they come on add list here??? But its so weird... after making a lot of pages without trouble... the problems and lost my edit functions come like that PLING...come from nowere and without no reason?? I use Supermint theme.
bleenders replied on at Permalink Reply
bleenders
I had a similar problem the other day after adding a custom made form block to a stack.
A method called in jQuery's ready() method in my form view.js caused the problem.
This will trow an error:
$(document).ready(function () {
        setCustomValidators();
});
var setCustomValidators = function () {
 //witchcraft
}

And this won't:
var setCustomValidators = function () {
 //witchcraft
}
$(document).ready(function () {
        setCustomValidators();
});

I'm just guessing here but, I think the jQuery's ready() method gets triggered instantly because the DOM is already loaded, in the first example jQuery does not know of any setCustomValidators() method yet so it trows the error and the stacks or clipboard wont load properly.
Just re-ordering the code fixed my problem. I guess it was poor coding to begin with.