Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
272b0b69
Commit
272b0b69
authored
Jan 21, 2015
by
Albert Ting
Committed by
David Lawrence
Jan 21, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 1121806: show_bug does not display in IE9
r=dylan,a=justdave
parent
e3e7b71b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
bug.js
js/bug.js
+5
-5
No files found.
js/bug.js
View file @
272b0b69
...
@@ -203,14 +203,14 @@ function set_assign_to(use_qa_contact) {
...
@@ -203,14 +203,14 @@ function set_assign_to(use_qa_contact) {
params
:
{
params
:
{
Bugzilla_api_token
:
BUGZILLA
.
api_token
,
Bugzilla_api_token
:
BUGZILLA
.
api_token
,
ids
:
bug_id
ids
:
bug_id
}
,
}
});
});
var
callbacks
=
{
var
callbacks
=
{
failure
:
function
(
res
)
{
failure
:
function
(
res
)
{
if
(
console
)
if
(
console
)
console
.
log
(
"failed to update last visited: "
console
.
log
(
"failed to update last visited: "
+
res
.
responseText
);
+
res
.
responseText
);
}
,
}
};
};
YAHOO
.
util
.
Connect
.
setDefaultPostHeader
(
'application/json'
,
true
);
YAHOO
.
util
.
Connect
.
setDefaultPostHeader
(
'application/json'
,
true
);
...
@@ -224,7 +224,7 @@ function set_assign_to(use_qa_contact) {
...
@@ -224,7 +224,7 @@ function set_assign_to(use_qa_contact) {
method
:
'BugUserLastVisit.get'
,
method
:
'BugUserLastVisit.get'
,
params
:
{
params
:
{
Bugzilla_api_token
:
BUGZILLA
.
api_token
Bugzilla_api_token
:
BUGZILLA
.
api_token
}
,
}
});
});
var
callbacks
=
{
var
callbacks
=
{
success
:
function
(
res
)
{
done
(
JSON
.
parse
(
res
.
responseText
))
},
success
:
function
(
res
)
{
done
(
JSON
.
parse
(
res
.
responseText
))
},
...
@@ -232,12 +232,12 @@ function set_assign_to(use_qa_contact) {
...
@@ -232,12 +232,12 @@ function set_assign_to(use_qa_contact) {
if
(
console
)
if
(
console
)
console
.
log
(
"failed to get last visited: "
console
.
log
(
"failed to get last visited: "
+
res
.
responseText
);
+
res
.
responseText
);
}
,
}
};
};
YAHOO
.
util
.
Connect
.
setDefaultPostHeader
(
'application/json'
,
true
);
YAHOO
.
util
.
Connect
.
setDefaultPostHeader
(
'application/json'
,
true
);
YAHOO
.
util
.
Connect
.
asyncRequest
(
'POST'
,
'jsonrpc.cgi'
,
callbacks
,
YAHOO
.
util
.
Connect
.
asyncRequest
(
'POST'
,
'jsonrpc.cgi'
,
callbacks
,
args
)
args
)
}
,
}
};
};
})();
})();
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment