mirror of https://github.com/apache/cloudstack.git
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
This commit is contained in:
commit
627e65e102
|
|
@ -1,14 +1,15 @@
|
|||
build/build.number
|
||||
bin
|
||||
bin/
|
||||
cloudstack-proprietary
|
||||
.lock-wscript
|
||||
artifacts
|
||||
.waf-*
|
||||
waf-*
|
||||
target
|
||||
override
|
||||
override/
|
||||
.metadata
|
||||
dist
|
||||
*~
|
||||
*.bak
|
||||
cloud-*.tar.bz2
|
||||
*.log
|
||||
|
|
|
|||
|
|
@ -1516,7 +1516,14 @@
|
|||
<label>OS Type:</label>
|
||||
<select class="select" id="os_type">
|
||||
</select>
|
||||
</li>
|
||||
</li>
|
||||
<li>
|
||||
<label>Password Enabled?:</label>
|
||||
<select class="select" id="password">
|
||||
<option value="false">No</option>
|
||||
<option value="true">Yes</option>
|
||||
</select>
|
||||
</li>
|
||||
</ol>
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
// Version: 1.9.1.452
|
||||
// Version: @VERSION@
|
||||
|
||||
function showStorageTab(domainId, targetTab) {
|
||||
var currentSubMenu;
|
||||
|
|
@ -531,7 +531,8 @@ function showStorageTab(domainId, targetTab) {
|
|||
|
||||
var name = thisDialog.find("#name").val();
|
||||
var displayText = thisDialog.find("#display_text").val();
|
||||
var osTypeId = thisDialog.find("#os_type").val();
|
||||
var osTypeId = thisDialog.find("#os_type").val();
|
||||
var password = thisDialog.find("#password").val();
|
||||
thisDialog.dialog("close");
|
||||
|
||||
var loadingImg = template.find(".adding_loading");
|
||||
|
|
@ -541,7 +542,7 @@ function showStorageTab(domainId, targetTab) {
|
|||
rowContainer.hide();
|
||||
|
||||
$.ajax({
|
||||
data: createURL("command=createTemplate&snapshotid="+snapshotId+"&name="+name+"&displaytext="+displayText+"&ostypeid="+osTypeId+"&response=json"),
|
||||
data: createURL("command=createTemplate&snapshotid="+snapshotId+"&name="+name+"&displaytext="+displayText+"&ostypeid="+osTypeId+"&passwordEnabled="+password+"&response=json"),
|
||||
dataType: "json",
|
||||
success: function(json) {
|
||||
var jobId = json.createtemplateresponse.jobid;
|
||||
|
|
@ -1596,7 +1597,8 @@ function showStorageTab(domainId, targetTab) {
|
|||
|
||||
var name = thisDialog.find("#name").val();
|
||||
var displayText = thisDialog.find("#display_text").val();
|
||||
var osTypeId = thisDialog.find("#os_type").val();
|
||||
var osTypeId = thisDialog.find("#os_type").val();
|
||||
var password = thisDialog.find("#password").val();
|
||||
thisDialog.dialog("close");
|
||||
|
||||
var loadingImg = template.find(".adding_loading");
|
||||
|
|
@ -1606,7 +1608,7 @@ function showStorageTab(domainId, targetTab) {
|
|||
rowContainer.hide();
|
||||
|
||||
$.ajax({
|
||||
data: createURL("command=createTemplate&snapshotid="+snapshotId+"&name="+name+"&displaytext="+displayText+"&ostypeid="+osTypeId+"&response=json"),
|
||||
data: createURL("command=createTemplate&snapshotid="+snapshotId+"&name="+name+"&displaytext="+displayText+"&ostypeid="+osTypeId+"&passwordEnabled="+password+"&response=json"),
|
||||
dataType: "json",
|
||||
success: function(json) {
|
||||
var jobId = json.createtemplateresponse.jobid;
|
||||
|
|
|
|||
Loading…
Reference in New Issue