Merge "Add branch actions to Projects > Branches view"
This commit is contained in:
@@ -168,8 +168,9 @@ on a button associated with a server side `UiAction`.
|
||||
self.onAction(type, view_name, callback);
|
||||
----
|
||||
|
||||
* type: `'change'`, `'revision'` or `'project'`, indicating which type
|
||||
of resource the `UiAction` was bound to in the server.
|
||||
* type: `'change'`, `'revision'`, `'project'`, or `'branch'`
|
||||
indicating which type of resource the `UiAction` was bound to
|
||||
in the server.
|
||||
|
||||
* view_name: string appearing in URLs to name the view. This is the
|
||||
second argument of the `get()`, `post()`, `put()`, and `delete()`
|
||||
@@ -837,8 +838,8 @@ on a button associated with a server side `UiAction`.
|
||||
Gerrit.onAction(type, view_name, callback);
|
||||
----
|
||||
|
||||
* type: `'change'` or `'revision'`, indicating what sort of resource
|
||||
the `UiAction` was bound to in the server.
|
||||
* type: `'change'`, `'revision'`, `'project'` or `'branch'` indicating
|
||||
what sort of resource the `UiAction` was bound to in the server.
|
||||
|
||||
* view_name: string appearing in URLs to name the view. This is the
|
||||
second argument of the `get()`, `post()`, `put()`, and `delete()`
|
||||
|
||||
Reference in New Issue
Block a user