Merge pull request #2475 from luisfernandosl/BUG-15201
BUG 15201 "Al momento de editar un Stage del..." SOLVED
This commit is contained in:
@@ -23,9 +23,13 @@
|
||||
|
||||
<JS type="javascript" replacetags="1"><![CDATA[
|
||||
var updateStage = function(oForm) {
|
||||
if (document.getElementById("form[STG_TITLE]").value.trim() != "") {
|
||||
ajax_post(oForm.action, oForm, 'POST');
|
||||
Sm.data.db.stages[getField('THEINDEX').value].label = Sm.data.db.stages[getField('THEINDEX').value].object.elements.label.innerHTML = getField('STG_TITLE').value;
|
||||
Sm.tmp.stagePanel.remove();
|
||||
} else {
|
||||
msgBox("@G::LoadTranslation(ID_NAME_STG_TITLE_REQUIRE)", "alert");
|
||||
}
|
||||
};
|
||||
]]></JS>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user