diff options
author | Matěj Cepl <mcepl@redhat.com> | 2011-02-16 18:50:43 +0100 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2011-02-16 18:57:05 +0100 |
commit | 775cf3d628588ede2ddee8346bf8b58dcfd8dde0 (patch) | |
tree | 3c0ee0cd1b8bf54283e1c623519a55843105cb96 /data/bzpage.js | |
parent | 1e60a32939f90ebd576da0a4e1c04c6c09394e31 (diff) | |
download | bugzilla-triage-775cf3d628588ede2ddee8346bf8b58dcfd8dde0.tar.gz |
Remove whole ifExist magic, it is not necessary anymore anyway.
* add also protection to queryUpstream function for situation when
constantData.queryUpstreamBug structure is not present.
Diffstat (limited to 'data/bzpage.js')
-rw-r--r-- | data/bzpage.js | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/data/bzpage.js b/data/bzpage.js index 208f64f..872f4f1 100644 --- a/data/bzpage.js +++ b/data/bzpage.js @@ -348,14 +348,6 @@ function createNewButton (location, after, cmdObj) { return ; } - // creation of button might be conditional on existence of data in constantData - if ("ifExist" in cmdObj) { - // We do have constantData now, but we shouldn't TODO - if (!(cmdObj.ifExist in constantData)) { - return ; - } - } - var newButton = document.createElement("input"); newButton.setAttribute("id", newId); newButton.setAttribute("type", "button"); |