| 1260 | | |
|---|
| 1261 | | if (firstID != '') { |
|---|
| 1262 | | showAll(firstID, notifyToggleTree); |
|---|
| 1263 | | } else { |
|---|
| 1264 | | var errorMessage = "<%=PropertyProvider.get("prm.global.javascript.nonodestoexpand.error")%>"; |
|---|
| 1265 | | extAlert(errorTitle, errorMessage , Ext.MessageBox.ERROR); |
|---|
| | 1260 | if(!isFlatAjaxView){ |
|---|
| | 1261 | if (firstID != '') { |
|---|
| | 1262 | showAll(firstID, notifyToggleTree); |
|---|
| | 1263 | } else { |
|---|
| | 1264 | var errorMessage = "<%=PropertyProvider.get("prm.global.javascript.nonodestoexpand.error")%>"; |
|---|
| | 1265 | extAlert(errorTitle, errorMessage , Ext.MessageBox.ERROR); |
|---|
| | 1266 | } |
|---|
| 1272 | | |
|---|
| 1273 | | if (firstID != '') { |
|---|
| 1274 | | hideAll(firstID, notifyToggleTree); |
|---|
| 1275 | | } else { |
|---|
| 1276 | | var errorMessage = "<%=PropertyProvider.get("prm.global.javascript.nonodestocollapse.error")%>"; |
|---|
| 1277 | | extAlert(errorTitle, errorMessage , Ext.MessageBox.ERROR); |
|---|
| | 1273 | if(!isFlatAjaxView){ |
|---|
| | 1274 | if (firstID != '') { |
|---|
| | 1275 | hideAll(firstID, notifyToggleTree); |
|---|
| | 1276 | } else { |
|---|
| | 1277 | var errorMessage = "<%=PropertyProvider.get("prm.global.javascript.nonodestocollapse.error")%>"; |
|---|
| | 1278 | extAlert(errorTitle, errorMessage , Ext.MessageBox.ERROR); |
|---|
| | 1279 | } |
|---|