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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Ivlev
bugzilla
Commits
77d29ce6
You need to sign in or sign up before continuing.
Commit
77d29ce6
authored
Apr 27, 2011
by
Max Kanat-Alexander
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 640719: Allow creating bookmarkable templates without passing validation,
on enter_bug.cgi r=pyrzak, a=mkanat
parent
ab962c79
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
field.js
js/field.js
+8
-0
create.html.tmpl
template/en/default/bug/create/create.html.tmpl
+1
-1
No files found.
js/field.js
View file @
77d29ce6
...
...
@@ -22,7 +22,15 @@
/* This library assumes that the needed YUI libraries have been loaded
already. */
var
bz_no_validate_enter_bug
=
false
;
function
validateEnterBug
(
theform
)
{
// This is for the "bookmarkable templates" button.
if
(
bz_no_validate_enter_bug
)
{
// Set it back to false for people who hit the "back" button
bz_no_validate_enter_bug
=
false
;
return
true
;
}
var
component
=
theform
.
component
;
var
short_desc
=
theform
.
short_desc
;
var
version
=
theform
.
version
;
...
...
template/en/default/bug/create/create.html.tmpl
View file @
77d29ce6
...
...
@@ -711,7 +711,7 @@ TUI_hide_default('attachment_text_field');
<input type="submit" name="maketemplate" id="maketemplate"
value="Remember values as bookmarkable template"
class="expert_fields">
onclick="bz_no_validate_enter_bug=true"
class="expert_fields">
</td>
</tr>
</tbody>
...
...
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