Logo
Explore Help
Register Sign In
Nemcio/Redmine
1
0
Fork 0
You've already forked Redmine
mirror of https://github.com/redmine/redmine.git synced 2025-11-05 04:45:57 +01:00
Code Issues Packages Projects Releases Activity
Files
12e00d77e16e5886ce44bbade724cbf242516751
Redmine/app/views/custom_field_enumerations/create.js.erb

10 lines
315 B
Plaintext
Raw Normal View History

500 error when attempting to create custom field enumeration with empty name (#33930). Patch by Kevin Fischer. git-svn-id: http://svn.redmine.org/redmine/trunk@20583 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-06 02:55:10 +00:00
$('#errorExplanation').remove();
<% if @value.valid? %>
Adds Enumeration custom field format (#21060). Similar to List format but stores possible values as records. git-svn-id: http://svn.redmine.org/redmine/trunk@14745 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-25 08:32:47 +00:00
$('#content').html('<%= escape_javascript(render(:template => 'custom_field_enumerations/index')) %>');
500 error when attempting to create custom field enumeration with empty name (#33930). Patch by Kevin Fischer. git-svn-id: http://svn.redmine.org/redmine/trunk@20583 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-06 02:55:10 +00:00
<% else %>
$('form#add-element').prepend('<%= escape_javascript(error_messages_for(@value)) %>');
<% end %>
Adds Enumeration custom field format (#21060). Similar to List format but stores possible values as records. git-svn-id: http://svn.redmine.org/redmine/trunk@14745 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-25 08:32:47 +00:00
$('#custom_field_enumeration_name').focus();
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.1 Page: 200ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API