Rajuoukanti / jquery-loadmask

Automatically exported from code.google.com/p/jquery-loadmask
0 stars 0 forks source link

Nested masks unmasked on outer most call to unmask() #15

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Mask an element
2. Mask an inner element
3. Unmask the outer element

What is the expected output? What do you see instead?

When outer element is unmasked, the inner mask persists

What version of the product are you using? On what operating system?

0.4 Linux

Please provide any additional information below.

When unmasking, jquery.find() is used to find the mask elements.  Use 
jquery.children() instead:

Patch:

102c102
<     element.find(".loadmask-msg,.loadmask").remove();

---
>     element.children(".loadmask-msg,.loadmask").remove();

Original issue reported on code.google.com by sh...@my-family.us on 15 May 2012 at 1:39