We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d407e01 commit f4373bcCopy full SHA for f4373bc
dev/tests/js/jasmine/tests/lib/mage/browser.test.js
@@ -33,10 +33,13 @@ define([
33
spyOn($, 'ajax').and.callFake(
34
function () {
35
return {
36
- done: function (data) {
37
- obj.targetElementId = 1;
38
- }
39
+ /**
+ * Succes result of ajax request
+ */
+ done: function () {
40
+ obj.targetElementId = 1;
41
+ }
42
+ };
43
});
44
obj.openDialog('instance/url', 100, 100, 'title', options);
45
@@ -48,11 +51,14 @@ define([
48
51
49
52
50
53
- obj.targetElementId = 'instance/url';
- obj.modalLoaded = true;
54
55
56
57
58
+ obj.targetElementId = 'instance/url';
59
+ obj.modalLoaded = true;
60
61
62
63
obj.openDialog('instance/url', 100, 100, 'title', undefined);
64
0 commit comments