Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
60dd8d16
Commit
60dd8d16
authored
Dec 29, 2013
by
Qiang Xue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes #1688: ActiveForm is creating duplicated messages in error summary
parent
cbad97c7
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
27 additions
and
2 deletions
+27
-2
site.css
apps/advanced/backend/web/css/site.css
+8
-0
site.css
apps/advanced/frontend/web/css/site.css
+8
-0
site.css
apps/basic/web/css/site.css
+8
-0
CHANGELOG.md
framework/CHANGELOG.md
+2
-1
yii.activeForm.js
framework/yii/assets/yii.activeForm.js
+1
-1
No files found.
apps/advanced/backend/web/css/site.css
View file @
60dd8d16
...
...
@@ -43,3 +43,11 @@ a.desc:after { content: /*"\e114"*/"\e152"; }
.sort-ordinal
a
.asc
:after
{
content
:
"\e155"
;
}
.sort-ordinal
a
.desc
:after
{
content
:
"\e156"
;
}
.error-summary
{
color
:
#b94a48
;
background
:
#fdf7f7
;
border-left
:
3px
solid
#eed3d7
;
padding
:
10px
20px
;
margin
:
0
0
15px
0
;
}
apps/advanced/frontend/web/css/site.css
View file @
60dd8d16
...
...
@@ -43,3 +43,11 @@ a.desc:after { content: /*"\e114"*/"\e152"; }
.sort-ordinal
a
.asc
:after
{
content
:
"\e155"
;
}
.sort-ordinal
a
.desc
:after
{
content
:
"\e156"
;
}
.error-summary
{
color
:
#b94a48
;
background
:
#fdf7f7
;
border-left
:
3px
solid
#eed3d7
;
padding
:
10px
20px
;
margin
:
0
0
15px
0
;
}
apps/basic/web/css/site.css
View file @
60dd8d16
...
...
@@ -44,3 +44,11 @@ a.desc:after { content: /*"\e114"*/"\e152"; }
.sort-ordinal
a
.asc
:after
{
content
:
"\e155"
;
}
.sort-ordinal
a
.desc
:after
{
content
:
"\e156"
;
}
.error-summary
{
color
:
#b94a48
;
background
:
#fdf7f7
;
border-left
:
3px
solid
#eed3d7
;
padding
:
10px
20px
;
margin
:
0
0
15px
0
;
}
framework/CHANGELOG.md
View file @
60dd8d16
...
...
@@ -16,10 +16,12 @@ Yii Framework 2 Change Log
-
Bug #1591: StringValidator is accessing undefined property (qiangxue)
-
Bug #1597: Added
`enableAutoLogin`
to basic and advanced application templates so "remember me" now works properly (samdark)
-
Bug #1631: Charset is now explicitly set to UTF-8 when serving JSON (samdark)
-
Bug #1688: ActiveForm is creating duplicated messages in error summary (qiangxue)
-
Bug: Fixed
`Call to a member function registerAssetFiles() on a non-object`
in case of wrong
`sourcePath`
for an asset bundle (samdark)
-
Bug: Fixed incorrect event name for
`yii\jui\Spinner`
(samdark)
-
Bug: Json::encode() did not handle objects that implement JsonSerializable interface correctly (cebe)
-
Bug: Fixed issue with tabular input on ActiveField::radio() and ActiveField::checkbox() (jom)
-
Enh #364: Improve Inflector::slug with
`intl`
transliteration. Improved transliteration char map. (tonydspaniard)
-
Enh #797: Added support for validating multiple columns by
`UniqueValidator`
and
`ExistValidator`
(qiangxue)
-
Enh #1293: Replaced Console::showProgress() with a better approach. See Console::startProgress() for details (cebe)
-
Enh #1406: DB Schema support for Oracle Database (p0larbeer, qiangxue)
...
...
@@ -51,7 +53,6 @@ Yii Framework 2 Change Log
-
Chg: Changed the signature of
`urlCreator`
and button creators for
`yii\gridview\ActionColumn`
(qiangxue)
-
New #1438:
[
MongoDB integration
](
https://github.com/yiisoft/yii2-mongodb
)
ActiveRecord and Query (klimov-paul)
-
New #1393:
[
Codeception testing framework integration
](
https://github.com/yiisoft/yii2-codeception
)
(
Ragazzo
)
-
Enh #364: Improve Inflector::slug with
`intl`
transliteration. Improved transliteration char map. (tonydspaniard)
2.
0.0 alpha, December 1, 2013
---------------------------
...
...
framework/yii/assets/yii.activeForm.js
View file @
60dd8d16
...
...
@@ -365,7 +365,7 @@
var
updateSummary
=
function
(
$form
,
messages
)
{
var
data
=
$form
.
data
(
'yiiActiveForm'
),
$summary
=
$form
.
find
(
data
.
settings
.
errorSummary
),
$ul
=
$summary
.
find
(
'ul'
);
$ul
=
$summary
.
find
(
'ul'
)
.
html
(
''
)
;
if
(
$summary
.
length
&&
messages
)
{
$
.
each
(
data
.
attributes
,
function
()
{
...
...
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