49 lines
1.3 KiB
JavaScript
49 lines
1.3 KiB
JavaScript
|
|
|
|
|
|
Ext.apply(F.ajax, {
|
|
errorMsg: "Error! {0} ({1})",
|
|
timeoutErrorMsg: "Request timeout, please refresh the page and try again!"
|
|
});
|
|
|
|
Ext.apply(F.util, {
|
|
alertTitle: "Alert Dialog",
|
|
confirmTitle: "Confirm Dialog",
|
|
formAlertMsg: "Please provide valid value for {0}!",
|
|
formAlertTitle: "Form Invalid",
|
|
loading: "Loading..."
|
|
});
|
|
|
|
Ext.apply(F.wnd, {
|
|
closeButtonTooltip: "Close this window",
|
|
formChangeConfirmMsg: "Current form has been modified, abandon changes?"
|
|
});
|
|
|
|
|
|
|
|
//if (Ext.ux.SimplePagingToolbar) {
|
|
// Ext.apply(Ext.ux.SimplePagingToolbar.prototype, {
|
|
// beforePageText: "Page",
|
|
// afterPageText: "of {0}",
|
|
// firstText: "First Page",
|
|
// prevText: "Previous Page",
|
|
// nextText: "Next Page",
|
|
// lastText: "Last Page",
|
|
// displayMsg: "Displaying {0} - {1} of {2}",
|
|
// emptyMsg: 'No data to display'
|
|
// });
|
|
//}
|
|
|
|
if (Ext.ux.TabCloseMenu) {
|
|
Ext.apply(Ext.ux.TabCloseMenu.prototype, {
|
|
closeTabText: "Close Tab",
|
|
closeOthersTabsText: "Close Other Tabs",
|
|
closeAllTabsText: "Close All Tabs"
|
|
});
|
|
}
|
|
|
|
if (Ext.ux.form && Ext.ux.form.FileUploadField) {
|
|
Ext.apply(Ext.ux.form.FileUploadField.prototype, {
|
|
buttonText: "Browse..."
|
|
});
|
|
} |