Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
origin-web-common
Overview
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
Java-于龙
origin-web-common
Commits
604c2dc6
Commit
604c2dc6
authored
Apr 21, 2017
by
Jeffrey Phillips
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't allow changing the Create button in create-project directive
parent
e1b739d0
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
4 additions
and
19 deletions
+4
-19
origin-web-common-ui.js
dist/origin-web-common-ui.js
+1
-6
origin-web-common.js
dist/origin-web-common.js
+1
-6
origin-web-common.min.js
dist/origin-web-common.min.js
+0
-0
templates.js
dist/scripts/templates.js
+1
-1
createProject.html
src/components/create-project/createProject.html
+1
-1
createProject.js
src/components/create-project/createProject.js
+0
-5
No files found.
dist/origin-web-common-ui.js
View file @
604c2dc6
...
...
@@ -87,7 +87,7 @@ hawtioPluginLoader.addModule('openshiftCommonUI');
" ng-click=
\"
createProject()
\"
\
n"
+
" ng-disabled=
\"
createProjectForm.$invalid || nameTaken || disableInputs
\"
\
n"
+
" value=
\"\"
>
\
n"
+
"
{{submitButtonLabel}}
\
n"
+
"
Create
\
n"
+
" </button>
\
n"
+
" <button
\
n"
+
" class=
\"
btn btn-default btn-lg
\"
\
n"
+
...
...
@@ -241,17 +241,12 @@ angular.module("openshiftCommonUI")
restrict
:
'E'
,
scope
:
{
alerts
:
'='
,
submitButtonLabel
:
'@'
,
redirectAction
:
'&'
,
onCancel
:
'&?'
,
isDialog
:
'@'
},
templateUrl
:
'src/components/create-project/createProject.html'
,
controller
:
function
(
$scope
,
$filter
,
$location
,
DataService
)
{
if
(
!
(
$scope
.
submitButtonLabel
))
{
$scope
.
submitButtonLabel
=
'Create'
;
}
$scope
.
isDialog
=
$scope
.
isDialog
===
'true'
;
$scope
.
createProject
=
function
()
{
...
...
dist/origin-web-common.js
View file @
604c2dc6
...
...
@@ -257,7 +257,7 @@ hawtioPluginLoader.addModule('openshiftCommonUI');
" ng-click=
\"
createProject()
\"
\
n"
+
" ng-disabled=
\"
createProjectForm.$invalid || nameTaken || disableInputs
\"
\
n"
+
" value=
\"\"
>
\
n"
+
"
{{submitButtonLabel}}
\
n"
+
"
Create
\
n"
+
" </button>
\
n"
+
" <button
\
n"
+
" class=
\"
btn btn-default btn-lg
\"
\
n"
+
...
...
@@ -411,17 +411,12 @@ angular.module("openshiftCommonUI")
restrict
:
'E'
,
scope
:
{
alerts
:
'='
,
submitButtonLabel
:
'@'
,
redirectAction
:
'&'
,
onCancel
:
'&?'
,
isDialog
:
'@'
},
templateUrl
:
'src/components/create-project/createProject.html'
,
controller
:
[
"$scope"
,
"$filter"
,
"$location"
,
"DataService"
,
function
(
$scope
,
$filter
,
$location
,
DataService
)
{
if
(
!
(
$scope
.
submitButtonLabel
))
{
$scope
.
submitButtonLabel
=
'Create'
;
}
$scope
.
isDialog
=
$scope
.
isDialog
===
'true'
;
$scope
.
createProject
=
function
()
{
...
...
dist/origin-web-common.min.js
View file @
604c2dc6
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/scripts/templates.js
View file @
604c2dc6
...
...
@@ -77,7 +77,7 @@ angular.module('openshiftCommonUI').run(['$templateCache', function($templateCac
" ng-click=
\"
createProject()
\"
\
n"
+
" ng-disabled=
\"
createProjectForm.$invalid || nameTaken || disableInputs
\"
\
n"
+
" value=
\"\"
>
\
n"
+
"
{{submitButtonLabel}}
\
n"
+
"
Create
\
n"
+
" </button>
\
n"
+
" <button
\
n"
+
" class=
\"
btn btn-default btn-lg
\"
\
n"
+
...
...
src/components/create-project/createProject.html
View file @
604c2dc6
...
...
@@ -73,7 +73,7 @@
ng-click=
"createProject()"
ng-disabled=
"createProjectForm.$invalid || nameTaken || disableInputs"
value=
""
>
{{submitButtonLabel}}
Create
</button>
<button
class=
"btn btn-default btn-lg"
...
...
src/components/create-project/createProject.js
View file @
604c2dc6
...
...
@@ -7,17 +7,12 @@ angular.module("openshiftCommonUI")
restrict
:
'E'
,
scope
:
{
alerts
:
'='
,
submitButtonLabel
:
'@'
,
redirectAction
:
'&'
,
onCancel
:
'&?'
,
isDialog
:
'@'
},
templateUrl
:
'src/components/create-project/createProject.html'
,
controller
:
function
(
$scope
,
$filter
,
$location
,
DataService
)
{
if
(
!
(
$scope
.
submitButtonLabel
))
{
$scope
.
submitButtonLabel
=
'Create'
;
}
$scope
.
isDialog
=
$scope
.
isDialog
===
'true'
;
$scope
.
createProject
=
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